Datasets:
DOI:
License:
Download validation/paper1/CHECK6_COMPANIONS.json from piotrwilam/AtlasOpenCoder: direct link, hf CLI and curl.
- Browser
- Download file 145 kB
-
https://huggingface.co/datasets/piotrwilam/AtlasOpenCoder/resolve/main/validation/paper1/CHECK6_COMPANIONS.json
- Command line
-
hf download hf://datasets/piotrwilam/AtlasOpenCoder/validation/paper1/CHECK6_COMPANIONS.json
-
curl -L -o CHECK6_COMPANIONS.json https://huggingface.co/datasets/piotrwilam/AtlasOpenCoder/resolve/main/validation/paper1/CHECK6_COMPANIONS.json
145 kB
{
"what": "check 6's companion asymmetry recomputed on the stored battery, for the eight constructs Table B.3 reports",
"definition": {
"share": "the fraction of a set's prompts in which the companion construct appears, by profilebattery.generate.audit.present on the prompt text",
"diff": "share(A) - share(B)",
"asymmetry_max": "max |diff|, and asymmetry_l2 the L2 norm of the diff vector -- the two quantities Table B.3 carries. checks.companion_leakage takes them over whatever companions companions.json logs, and audit() has already dropped audit.COMPONENTS before logging, so the like-for-like replacement is the excl_audit_components column",
"layer_12": "reaches only concept_norm, not the asymmetry",
"cap": "the design caps |diff| at 0.15 for these constructs, components exempt",
"scoping": {
"whole": "all prompts, counted from line 1: padding included, an upper bound",
"nopad": "the padding == 0 prompts only, where body_start == 1 and the count is exactly the generator's; A is a third of each set by design, B is not, so B's cell mix shifts"
},
"component_lists": "audit.COMPONENTS is what the code exempts; the inventory's `components` field is a different list; both reported",
"source": "phase_battery, both twins -- NOT the regenerated sample that probe/companions.json was built from"
},
"fixed_before_computing": true,
"per_construct": {
"ClassDef": {
"n": {
"a_whole": 1440,
"b_whole": 1440,
"a_nopad": 480,
"b_nopad": 293
},
"b_subsets": {
"docstring": 420,
"comment": 478,
"string": 512,
"identifier": 30
},
"n_companions": 33,
"asymmetry_max": {
"all_whole": 0.38819444444444445,
"all_nopad": 0.6461532992036405,
"excl_audit_components_whole": 0.38819444444444445,
"excl_audit_components_nopad": 0.6461532992036405,
"excl_inventory_components_whole": 0.38819444444444445,
"excl_inventory_components_nopad": 0.6461532992036405
},
"asymmetry_l2": {
"all_whole": 1.063998806694889,
"all_nopad": 1.3111424610277425,
"excl_audit_components_whole": 1.063998806694889,
"excl_audit_components_nopad": 1.3111424610277425,
"excl_inventory_components_whole": 1.063998806694889,
"excl_inventory_components_nopad": 1.3111424610277425
},
"n_companions_by_way": {
"all": 33,
"excl_audit_components": 33,
"excl_inventory_components": 33
},
"stored_asymmetry_max": 0.625,
"stored_asymmetry_l2": 1.0309097923678872,
"stored_n_companions": 16,
"stored_n_a": 360,
"stored_n_b": 1440,
"over_cap_whole_excl_audit": [
"If",
"List",
"Call",
"Compare",
"Subscript",
"BinOp",
"Tuple",
"For",
"FormattedValue",
"JoinedStr",
"UnaryOp",
"Pass",
"Dict",
"BoolOp"
],
"mean_b_share_by_subset": {
"docstring": 0.16132756132756132,
"comment": 0.14403448713072142,
"string": 0.1885653409090909,
"identifier": 0.18080808080808083
},
"shares": [
{
"companion": "AnnAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.001388888888888889,
"b_whole": 0.0,
"diff_whole": 0.001388888888888889,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"identifier": 0.0
}
},
{
"companion": "Assert",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0020833333333333333,
"b_whole": 0.0020833333333333333,
"diff_whole": 0.0,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.002380952380952381,
"comment": 0.0020920502092050207,
"string": 0.001953125,
"identifier": 0.0
}
},
{
"companion": "Assign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.9958333333333333,
"b_whole": 0.9625,
"diff_whole": 0.033333333333333326,
"a_nopad": 0.9958333333333333,
"b_nopad": 0.9010238907849829,
"diff_nopad": 0.09480944254835044,
"b_by_subset": {
"docstring": 0.9642857142857143,
"comment": 1.0,
"string": 0.931640625,
"identifier": 0.8666666666666667
}
},
{
"companion": "Attribute",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.8833333333333333,
"b_whole": 0.7611111111111111,
"diff_whole": 0.12222222222222223,
"a_nopad": 0.8604166666666667,
"b_nopad": 0.6109215017064846,
"diff_nopad": 0.2494951649601821,
"b_by_subset": {
"docstring": 0.7761904761904762,
"comment": 0.7635983263598326,
"string": 0.744140625,
"identifier": 0.8
}
},
{
"companion": "AugAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.12222222222222222,
"b_whole": 0.0020833333333333333,
"diff_whole": 0.12013888888888888,
"a_nopad": 0.12291666666666666,
"b_nopad": 0.0,
"diff_nopad": 0.12291666666666666,
"b_by_subset": {
"docstring": 0.002380952380952381,
"comment": 0.0041841004184100415,
"string": 0.0,
"identifier": 0.0
}
},
{
"companion": "BinOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.3416666666666667,
"b_whole": 0.044444444444444446,
"diff_whole": 0.2972222222222222,
"a_nopad": 0.29583333333333334,
"b_nopad": 0.0,
"diff_nopad": 0.29583333333333334,
"b_by_subset": {
"docstring": 0.04285714285714286,
"comment": 0.03347280334728033,
"string": 0.056640625,
"identifier": 0.03333333333333333
}
},
{
"companion": "BoolOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.16597222222222222,
"b_whole": 0.003472222222222222,
"diff_whole": 0.1625,
"a_nopad": 0.125,
"b_nopad": 0.0,
"diff_nopad": 0.125,
"b_by_subset": {
"docstring": 0.007142857142857143,
"comment": 0.0020920502092050207,
"string": 0.001953125,
"identifier": 0.0
}
},
{
"companion": "Call",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.9131944444444444,
"b_whole": 0.5652777777777778,
"diff_whole": 0.34791666666666665,
"a_nopad": 0.8645833333333334,
"b_nopad": 0.21843003412969283,
"diff_nopad": 0.6461532992036405,
"b_by_subset": {
"docstring": 0.5571428571428572,
"comment": 0.4769874476987448,
"string": 0.654296875,
"identifier": 0.5666666666666667
}
},
{
"companion": "Compare",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.34791666666666665,
"b_whole": 0.013888888888888888,
"diff_whole": 0.33402777777777776,
"a_nopad": 0.3770833333333333,
"b_nopad": 0.0,
"diff_nopad": 0.3770833333333333,
"b_by_subset": {
"docstring": 0.02142857142857143,
"comment": 0.016736401673640166,
"string": 0.005859375,
"identifier": 0.0
}
},
{
"companion": "Delete",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0020833333333333333,
"b_whole": 0.004166666666666667,
"diff_whole": -0.0020833333333333333,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.004761904761904762,
"comment": 0.006276150627615063,
"string": 0.001953125,
"identifier": 0.0
}
},
{
"companion": "Dict",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.2986111111111111,
"b_whole": 0.10833333333333334,
"diff_whole": 0.19027777777777777,
"a_nopad": 0.26875,
"b_nopad": 0.08532423208191127,
"diff_nopad": 0.18342576791808873,
"b_by_subset": {
"docstring": 0.2833333333333333,
"comment": 0.043933054393305436,
"string": 0.03125,
"identifier": 0.0
}
},
{
"companion": "DictComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0020833333333333333,
"b_whole": 0.002777777777777778,
"diff_whole": -0.0006944444444444446,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.002380952380952381,
"comment": 0.006276150627615063,
"string": 0.0,
"identifier": 0.0
}
},
{
"companion": "For",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.21666666666666667,
"b_whole": 0.0,
"diff_whole": 0.21666666666666667,
"a_nopad": 0.19375,
"b_nopad": 0.0,
"diff_nopad": 0.19375,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"identifier": 0.0
}
},
{
"companion": "FormattedValue",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.21597222222222223,
"diff_whole": -0.21597222222222223,
"a_nopad": 0.0,
"b_nopad": 0.20477815699658702,
"diff_nopad": -0.20477815699658702,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.607421875,
"identifier": 0.0
}
},
{
"companion": "FunctionDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.6319444444444444,
"b_whole": 0.5777777777777777,
"diff_whole": 0.054166666666666696,
"a_nopad": 0.625,
"b_nopad": 0.5938566552901023,
"diff_nopad": 0.031143344709897658,
"b_by_subset": {
"docstring": 0.6761904761904762,
"comment": 0.5251046025104602,
"string": 0.521484375,
"identifier": 1.0
}
},
{
"companion": "GeneratorExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.001388888888888889,
"b_whole": 0.0020833333333333333,
"diff_whole": -0.0006944444444444444,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0041841004184100415,
"string": 0.001953125,
"identifier": 0.0
}
},
{
"companion": "If",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.3902777777777778,
"b_whole": 0.0020833333333333333,
"diff_whole": 0.38819444444444445,
"a_nopad": 0.43125,
"b_nopad": 0.0,
"diff_nopad": 0.43125,
"b_by_subset": {
"docstring": 0.002380952380952381,
"comment": 0.0020920502092050207,
"string": 0.001953125,
"identifier": 0.0
}
},
{
"companion": "IfExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.001388888888888889,
"b_whole": 0.0006944444444444445,
"diff_whole": 0.0006944444444444445,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0020920502092050207,
"string": 0.0,
"identifier": 0.0
}
},
{
"companion": "Import",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.24305555555555555,
"b_whole": 0.27708333333333335,
"diff_whole": -0.034027777777777796,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.2571428571428571,
"comment": 0.301255230125523,
"string": 0.267578125,
"identifier": 0.3333333333333333
}
},
{
"companion": "ImportFrom",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.4652777777777778,
"b_whole": 0.5395833333333333,
"diff_whole": -0.07430555555555551,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.5595238095238095,
"comment": 0.5313807531380753,
"string": 0.53125,
"identifier": 0.5333333333333333
}
},
{
"companion": "JoinedStr",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.21597222222222223,
"diff_whole": -0.21597222222222223,
"a_nopad": 0.0,
"b_nopad": 0.20477815699658702,
"diff_nopad": -0.20477815699658702,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.607421875,
"identifier": 0.0
}
},
{
"companion": "Lambda",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.006944444444444444,
"b_whole": 0.007638888888888889,
"diff_whole": -0.0006944444444444446,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.009523809523809525,
"comment": 0.008368200836820083,
"string": 0.005859375,
"identifier": 0.0
}
},
{
"companion": "List",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.46041666666666664,
"b_whole": 0.10694444444444444,
"diff_whole": 0.3534722222222222,
"a_nopad": 0.44166666666666665,
"b_nopad": 0.0,
"diff_nopad": 0.44166666666666665,
"b_by_subset": {
"docstring": 0.11904761904761904,
"comment": 0.09414225941422594,
"string": 0.107421875,
"identifier": 0.13333333333333333
}
},
{
"companion": "ListComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.09305555555555556,
"b_whole": 0.011111111111111112,
"diff_whole": 0.08194444444444444,
"a_nopad": 0.0875,
"b_nopad": 0.0,
"diff_nopad": 0.0875,
"b_by_subset": {
"docstring": 0.004761904761904762,
"comment": 0.01882845188284519,
"string": 0.009765625,
"identifier": 0.0
}
},
{
"companion": "Pass",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.23541666666666666,
"b_whole": 0.029166666666666667,
"diff_whole": 0.20625,
"a_nopad": 0.19375,
"b_nopad": 0.0,
"diff_nopad": 0.19375,
"b_by_subset": {
"docstring": 0.02857142857142857,
"comment": 0.027196652719665274,
"string": 0.029296875,
"identifier": 0.06666666666666667
}
},
{
"companion": "Raise",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.07083333333333333,
"diff_whole": -0.07083333333333333,
"a_nopad": 0.0,
"b_nopad": 0.08873720136518772,
"diff_nopad": -0.08873720136518772,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.19921875,
"identifier": 0.0
}
},
{
"companion": "Return",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.6319444444444444,
"b_whole": 0.5777777777777777,
"diff_whole": 0.054166666666666696,
"a_nopad": 0.625,
"b_nopad": 0.5938566552901023,
"diff_nopad": 0.031143344709897658,
"b_by_subset": {
"docstring": 0.6761904761904762,
"comment": 0.5251046025104602,
"string": 0.521484375,
"identifier": 1.0
}
},
{
"companion": "Slice",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.09097222222222222,
"b_whole": 0.011805555555555555,
"diff_whole": 0.07916666666666666,
"a_nopad": 0.07083333333333333,
"b_nopad": 0.0,
"diff_nopad": 0.07083333333333333,
"b_by_subset": {
"docstring": 0.011904761904761904,
"comment": 0.012552301255230125,
"string": 0.009765625,
"identifier": 0.03333333333333333
}
},
{
"companion": "Starred",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.09027777777777778,
"b_whole": 0.005555555555555556,
"diff_whole": 0.08472222222222223,
"a_nopad": 0.10416666666666667,
"b_nopad": 0.0,
"diff_nopad": 0.10416666666666667,
"b_by_subset": {
"docstring": 0.004761904761904762,
"comment": 0.008368200836820083,
"string": 0.00390625,
"identifier": 0.0
}
},
{
"companion": "Subscript",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.4791666666666667,
"b_whole": 0.16597222222222222,
"diff_whole": 0.31319444444444444,
"a_nopad": 0.40208333333333335,
"b_nopad": 0.0,
"diff_nopad": 0.40208333333333335,
"b_by_subset": {
"docstring": 0.14523809523809525,
"comment": 0.16317991631799164,
"string": 0.177734375,
"identifier": 0.3
}
},
{
"companion": "Try",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0006944444444444445,
"b_whole": 0.0006944444444444445,
"diff_whole": 0.0,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0020920502092050207,
"string": 0.0,
"identifier": 0.0
}
},
{
"companion": "Tuple",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.44166666666666665,
"b_whole": 0.1638888888888889,
"diff_whole": 0.2777777777777778,
"a_nopad": 0.39166666666666666,
"b_nopad": 0.0,
"diff_nopad": 0.39166666666666666,
"b_by_subset": {
"docstring": 0.15476190476190477,
"comment": 0.15271966527196654,
"string": 0.173828125,
"identifier": 0.3
}
},
{
"companion": "UnaryOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.23055555555555557,
"b_whole": 0.014583333333333334,
"diff_whole": 0.21597222222222223,
"a_nopad": 0.21875,
"b_nopad": 0.0,
"diff_nopad": 0.21875,
"b_by_subset": {
"docstring": 0.009523809523809525,
"comment": 0.01882845188284519,
"string": 0.015625,
"identifier": 0.0
}
}
]
},
"For": {
"n": {
"a_whole": 1440,
"b_whole": 1440,
"a_nopad": 480,
"b_nopad": 319
},
"b_subsets": {
"docstring": 342,
"string": 388,
"sibling-role": 366,
"comment": 339,
"identifier": 5
},
"n_companions": 38,
"asymmetry_max": {
"all_whole": 0.22777777777777775,
"all_nopad": 0.35758228840125394,
"excl_audit_components_whole": 0.22777777777777775,
"excl_audit_components_nopad": 0.35758228840125394,
"excl_inventory_components_whole": 0.22777777777777775,
"excl_inventory_components_nopad": 0.35758228840125394
},
"asymmetry_l2": {
"all_whole": 0.6676591281632814,
"all_nopad": 0.8000749507149959,
"excl_audit_components_whole": 0.6676591281632814,
"excl_audit_components_nopad": 0.8000749507149959,
"excl_inventory_components_whole": 0.6438312755837146,
"excl_inventory_components_nopad": 0.78030117695772
},
"n_companions_by_way": {
"all": 38,
"excl_audit_components": 38,
"excl_inventory_components": 36
},
"stored_asymmetry_max": 0.875,
"stored_asymmetry_l2": 1.238340017927225,
"stored_n_companions": 23,
"stored_n_a": 360,
"stored_n_b": 1440,
"over_cap_whole_excl_audit": [
"Tuple",
"Attribute",
"List",
"FormattedValue",
"JoinedStr",
"Dict",
"Call",
"If"
],
"mean_b_share_by_subset": {
"docstring": 0.17559248999692217,
"comment": 0.15385809656885574,
"string": 0.1949267498643516,
"identifier": 0.1736842105263158,
"sibling-role": 0.23080241587575495
},
"shares": [
{
"companion": "AnnAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0020833333333333333,
"b_whole": 0.001388888888888889,
"diff_whole": 0.0006944444444444444,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0029239766081871343,
"comment": 0.0,
"string": 0.002577319587628866,
"identifier": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Assert",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.03611111111111111,
"b_whole": 0.005555555555555556,
"diff_whole": 0.03055555555555555,
"a_nopad": 0.04583333333333333,
"b_nopad": 0.0,
"diff_nopad": 0.04583333333333333,
"b_by_subset": {
"docstring": 0.0029239766081871343,
"comment": 0.011799410029498525,
"string": 0.007731958762886598,
"identifier": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Assign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.9666666666666667,
"b_whole": 0.9895833333333334,
"diff_whole": -0.022916666666666696,
"a_nopad": 0.9395833333333333,
"b_nopad": 0.9623824451410659,
"diff_nopad": -0.02279911180773253,
"b_by_subset": {
"docstring": 0.9912280701754386,
"comment": 0.9911504424778761,
"string": 0.9922680412371134,
"identifier": 1.0,
"sibling-role": 0.9836065573770492
}
},
{
"companion": "AsyncFor",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.04513888888888889,
"diff_whole": -0.04513888888888889,
"a_nopad": 0.0,
"b_nopad": 0.05642633228840126,
"diff_nopad": -0.05642633228840126,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"identifier": 0.0,
"sibling-role": 0.17759562841530055
}
},
{
"companion": "AsyncFunctionDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.04513888888888889,
"diff_whole": -0.04513888888888889,
"a_nopad": 0.0,
"b_nopad": 0.05642633228840126,
"diff_nopad": -0.05642633228840126,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"identifier": 0.0,
"sibling-role": 0.17759562841530055
}
},
{
"companion": "Attribute",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.9555555555555556,
"b_whole": 0.7368055555555556,
"diff_whole": 0.21875,
"a_nopad": 0.93125,
"b_nopad": 0.5736677115987461,
"diff_nopad": 0.35758228840125394,
"b_by_subset": {
"docstring": 0.7514619883040936,
"comment": 0.7315634218289085,
"string": 0.7448453608247423,
"identifier": 0.4,
"sibling-role": 0.7240437158469946
}
},
{
"companion": "AugAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.2520833333333333,
"b_whole": 0.33125,
"diff_whole": -0.07916666666666666,
"a_nopad": 0.25,
"b_nopad": 0.3322884012539185,
"diff_nopad": -0.08228840125391851,
"b_by_subset": {
"docstring": 0.2894736842105263,
"comment": 0.3274336283185841,
"string": 0.3170103092783505,
"identifier": 0.2,
"sibling-role": 0.3907103825136612
}
},
{
"companion": "BinOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.3298611111111111,
"b_whole": 0.4375,
"diff_whole": -0.1076388888888889,
"a_nopad": 0.3125,
"b_nopad": 0.3981191222570533,
"diff_nopad": -0.08561912225705332,
"b_by_subset": {
"docstring": 0.39766081871345027,
"comment": 0.36578171091445427,
"string": 0.4020618556701031,
"identifier": 0.0,
"sibling-role": 0.5846994535519126
}
},
{
"companion": "BoolOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.13958333333333334,
"b_whole": 0.004166666666666667,
"diff_whole": 0.13541666666666666,
"a_nopad": 0.12291666666666666,
"b_nopad": 0.0,
"diff_nopad": 0.12291666666666666,
"b_by_subset": {
"docstring": 0.0029239766081871343,
"comment": 0.0029498525073746312,
"string": 0.0,
"identifier": 0.0,
"sibling-role": 0.01092896174863388
}
},
{
"companion": "Break",
"exempt_audit": false,
"exempt_inventory": true,
"a_whole": 0.125,
"b_whole": 0.0,
"diff_whole": 0.125,
"a_nopad": 0.125,
"b_nopad": 0.0,
"diff_nopad": 0.125,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"identifier": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Call",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.8069444444444445,
"b_whole": 0.6409722222222223,
"diff_whole": 0.1659722222222222,
"a_nopad": 0.6979166666666666,
"b_nopad": 0.3761755485893417,
"diff_nopad": 0.3217411180773249,
"b_by_subset": {
"docstring": 0.5555555555555556,
"comment": 0.5132743362831859,
"string": 0.6288659793814433,
"identifier": 0.4,
"sibling-role": 0.855191256830601
}
},
{
"companion": "ClassDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.025,
"b_whole": 0.06736111111111111,
"diff_whole": -0.042361111111111106,
"a_nopad": 0.0,
"b_nopad": 0.018808777429467086,
"diff_nopad": -0.018808777429467086,
"b_by_subset": {
"docstring": 0.20175438596491227,
"comment": 0.017699115044247787,
"string": 0.023195876288659795,
"identifier": 0.0,
"sibling-role": 0.03551912568306011
}
},
{
"companion": "Compare",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.41458333333333336,
"b_whole": 0.27569444444444446,
"diff_whole": 0.1388888888888889,
"a_nopad": 0.4270833333333333,
"b_nopad": 0.2884012539184953,
"diff_nopad": 0.138682079414838,
"b_by_subset": {
"docstring": 0.2543859649122807,
"comment": 0.2713864306784661,
"string": 0.2551546391752577,
"identifier": 0.2,
"sibling-role": 0.3224043715846995
}
},
{
"companion": "Continue",
"exempt_audit": false,
"exempt_inventory": true,
"a_whole": 0.125,
"b_whole": 0.0,
"diff_whole": 0.125,
"a_nopad": 0.125,
"b_nopad": 0.0,
"diff_nopad": 0.125,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"identifier": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Delete",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0020833333333333333,
"b_whole": 0.002777777777777778,
"diff_whole": -0.0006944444444444446,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0058997050147492625,
"string": 0.005154639175257732,
"identifier": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Dict",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.14930555555555555,
"b_whole": 0.32013888888888886,
"diff_whole": -0.1708333333333333,
"a_nopad": 0.125,
"b_nopad": 0.3072100313479624,
"diff_nopad": -0.18221003134796238,
"b_by_subset": {
"docstring": 0.41812865497076024,
"comment": 0.25663716814159293,
"string": 0.2654639175257732,
"identifier": 0.0,
"sibling-role": 0.34972677595628415
}
},
{
"companion": "DictComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.002777777777777778,
"b_whole": 0.06180555555555556,
"diff_whole": -0.05902777777777778,
"a_nopad": 0.0,
"b_nopad": 0.07523510971786834,
"diff_nopad": -0.07523510971786834,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.005154639175257732,
"identifier": 0.0,
"sibling-role": 0.23770491803278687
}
},
{
"companion": "FormattedValue",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.17430555555555555,
"diff_whole": -0.17430555555555555,
"a_nopad": 0.0,
"b_nopad": 0.21630094043887146,
"diff_nopad": -0.21630094043887146,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.6469072164948454,
"identifier": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "FunctionDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.05555555555555555,
"b_whole": 0.0875,
"diff_whole": -0.03194444444444444,
"a_nopad": 0.05416666666666667,
"b_nopad": 0.11285266457680251,
"diff_nopad": -0.058685997910135845,
"b_by_subset": {
"docstring": 0.23391812865497075,
"comment": 0.0,
"string": 0.010309278350515464,
"identifier": 1.0,
"sibling-role": 0.10109289617486339
}
},
{
"companion": "GeneratorExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.050694444444444445,
"diff_whole": -0.050694444444444445,
"a_nopad": 0.0,
"b_nopad": 0.08150470219435736,
"diff_nopad": -0.08150470219435736,
"b_by_subset": {
"docstring": 0.0029239766081871343,
"comment": 0.0029498525073746312,
"string": 0.0,
"identifier": 0.0,
"sibling-role": 0.19398907103825136
}
},
{
"companion": "If",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.5090277777777777,
"b_whole": 0.35,
"diff_whole": 0.15902777777777777,
"a_nopad": 0.5020833333333333,
"b_nopad": 0.335423197492163,
"diff_nopad": 0.16666013584117034,
"b_by_subset": {
"docstring": 0.29239766081871343,
"comment": 0.32448377581120946,
"string": 0.3170103092783505,
"identifier": 0.2,
"sibling-role": 0.4644808743169399
}
},
{
"companion": "IfExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0006944444444444445,
"b_whole": 0.05763888888888889,
"diff_whole": -0.05694444444444445,
"a_nopad": 0.0,
"b_nopad": 0.08150470219435736,
"diff_nopad": -0.08150470219435736,
"b_by_subset": {
"docstring": 0.0029239766081871343,
"comment": 0.0,
"string": 0.0,
"identifier": 0.0,
"sibling-role": 0.22404371584699453
}
},
{
"companion": "Import",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.22013888888888888,
"b_whole": 0.30277777777777776,
"diff_whole": -0.08263888888888887,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.30701754385964913,
"comment": 0.3421828908554572,
"string": 0.29896907216494845,
"identifier": 0.0,
"sibling-role": 0.27049180327868855
}
},
{
"companion": "ImportFrom",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.4513888888888889,
"b_whole": 0.5298611111111111,
"diff_whole": -0.07847222222222222,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.5380116959064327,
"comment": 0.5722713864306784,
"string": 0.5412371134020618,
"identifier": 0.2,
"sibling-role": 0.47540983606557374
}
},
{
"companion": "JoinedStr",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.17430555555555555,
"diff_whole": -0.17430555555555555,
"a_nopad": 0.0,
"b_nopad": 0.21630094043887146,
"diff_nopad": -0.21630094043887146,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.6469072164948454,
"identifier": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Lambda",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.00625,
"b_whole": 0.010416666666666666,
"diff_whole": -0.004166666666666666,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.017543859649122806,
"comment": 0.0058997050147492625,
"string": 0.002577319587628866,
"identifier": 0.0,
"sibling-role": 0.01639344262295082
}
},
{
"companion": "List",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.19236111111111112,
"b_whole": 0.3701388888888889,
"diff_whole": -0.17777777777777778,
"a_nopad": 0.125,
"b_nopad": 0.31347962382445144,
"diff_nopad": -0.18847962382445144,
"b_by_subset": {
"docstring": 0.37719298245614036,
"comment": 0.35988200589970504,
"string": 0.36855670103092786,
"identifier": 0.4,
"sibling-role": 0.3743169398907104
}
},
{
"companion": "ListComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.06666666666666667,
"b_whole": 0.12361111111111112,
"diff_whole": -0.05694444444444445,
"a_nopad": 0.0625,
"b_nopad": 0.12539184952978055,
"diff_nopad": -0.06289184952978055,
"b_by_subset": {
"docstring": 0.05263157894736842,
"comment": 0.06784660766961652,
"string": 0.03608247422680412,
"identifier": 1.0,
"sibling-role": 0.3224043715846995
}
},
{
"companion": "Pass",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.03611111111111111,
"b_whole": 0.025694444444444443,
"diff_whole": 0.010416666666666664,
"a_nopad": 0.020833333333333332,
"b_nopad": 0.0,
"diff_nopad": 0.020833333333333332,
"b_by_subset": {
"docstring": 0.02631578947368421,
"comment": 0.02064896755162242,
"string": 0.023195876288659795,
"identifier": 0.0,
"sibling-role": 0.03278688524590164
}
},
{
"companion": "Raise",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.043055555555555555,
"diff_whole": -0.043055555555555555,
"a_nopad": 0.0,
"b_nopad": 0.02821316614420063,
"diff_nopad": -0.02821316614420063,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.15979381443298968,
"identifier": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Return",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.05555555555555555,
"b_whole": 0.08680555555555555,
"diff_whole": -0.03125,
"a_nopad": 0.05416666666666667,
"b_nopad": 0.11285266457680251,
"diff_nopad": -0.058685997910135845,
"b_by_subset": {
"docstring": 0.23391812865497075,
"comment": 0.0,
"string": 0.007731958762886598,
"identifier": 1.0,
"sibling-role": 0.10109289617486339
}
},
{
"companion": "SetComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.052083333333333336,
"diff_whole": -0.052083333333333336,
"a_nopad": 0.0,
"b_nopad": 0.07210031347962383,
"diff_nopad": -0.07210031347962383,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"identifier": 0.0,
"sibling-role": 0.20491803278688525
}
},
{
"companion": "Slice",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.09652777777777778,
"b_whole": 0.010416666666666666,
"diff_whole": 0.08611111111111111,
"a_nopad": 0.09166666666666666,
"b_nopad": 0.0,
"diff_nopad": 0.09166666666666666,
"b_by_subset": {
"docstring": 0.005847953216374269,
"comment": 0.011799410029498525,
"string": 0.005154639175257732,
"identifier": 0.0,
"sibling-role": 0.01912568306010929
}
},
{
"companion": "Starred",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.003472222222222222,
"b_whole": 0.004166666666666667,
"diff_whole": -0.0006944444444444446,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.011695906432748537,
"comment": 0.0029498525073746312,
"string": 0.0,
"identifier": 0.0,
"sibling-role": 0.00273224043715847
}
},
{
"companion": "Subscript",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.3458333333333333,
"b_whole": 0.2,
"diff_whole": 0.14583333333333331,
"a_nopad": 0.26458333333333334,
"b_nopad": 0.10344827586206896,
"diff_nopad": 0.1611350574712644,
"b_by_subset": {
"docstring": 0.1608187134502924,
"comment": 0.12979351032448377,
"string": 0.13917525773195877,
"identifier": 0.2,
"sibling-role": 0.366120218579235
}
},
{
"companion": "Try",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.0006944444444444445,
"diff_whole": -0.0006944444444444445,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0029498525073746312,
"string": 0.0,
"identifier": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Tuple",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.3402777777777778,
"b_whole": 0.5680555555555555,
"diff_whole": -0.22777777777777775,
"a_nopad": 0.25,
"b_nopad": 0.4608150470219436,
"diff_nopad": -0.2108150470219436,
"b_by_subset": {
"docstring": 0.5087719298245614,
"comment": 0.4808259587020649,
"string": 0.5412371134020618,
"identifier": 0.4,
"sibling-role": 0.7349726775956285
}
},
{
"companion": "UnaryOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.15069444444444444,
"b_whole": 0.021527777777777778,
"diff_whole": 0.12916666666666665,
"a_nopad": 0.12083333333333333,
"b_nopad": 0.0,
"diff_nopad": 0.12083333333333333,
"b_by_subset": {
"docstring": 0.03216374269005848,
"comment": 0.02654867256637168,
"string": 0.01288659793814433,
"identifier": 0.0,
"sibling-role": 0.01639344262295082
}
}
]
},
"FunctionDef": {
"n": {
"a_whole": 1440,
"b_whole": 1440,
"a_nopad": 480,
"b_nopad": 207
},
"b_subsets": {
"docstring": 317,
"string": 423,
"comment": 393,
"sibling-role": 307
},
"n_companions": 34,
"asymmetry_max": {
"all_whole": 0.5298611111111111,
"all_nopad": 0.5263888888888888,
"excl_audit_components_whole": 0.5298611111111111,
"excl_audit_components_nopad": 0.5263888888888888,
"excl_inventory_components_whole": 0.5298611111111111,
"excl_inventory_components_nopad": 0.5263888888888888
},
"asymmetry_l2": {
"all_whole": 0.8121432027605252,
"all_nopad": 0.8634781967000663,
"excl_audit_components_whole": 0.8121432027605252,
"excl_audit_components_nopad": 0.8634781967000663,
"excl_inventory_components_whole": 0.8121432027605252,
"excl_inventory_components_nopad": 0.8634781967000663
},
"n_companions_by_way": {
"all": 34,
"excl_audit_components": 34,
"excl_inventory_components": 34
},
"stored_asymmetry_max": 0.5,
"stored_asymmetry_l2": 1.03913617971852,
"stored_n_companions": 19,
"stored_n_a": 360,
"stored_n_b": 1395,
"over_cap_whole_excl_audit": [
"If",
"Compare",
"AsyncFunctionDef",
"FormattedValue",
"JoinedStr",
"List"
],
"mean_b_share_by_subset": {
"docstring": 0.1645017628502505,
"comment": 0.14765753629696152,
"string": 0.19204561257126965,
"sibling-role": 0.21833684613910712
},
"shares": [
{
"companion": "AnnAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0006944444444444445,
"b_whole": 0.0006944444444444445,
"diff_whole": 0.0,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.002544529262086514,
"string": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Assert",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.08263888888888889,
"b_whole": 0.0020833333333333333,
"diff_whole": 0.08055555555555555,
"a_nopad": 0.07916666666666666,
"b_nopad": 0.0,
"diff_nopad": 0.07916666666666666,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0070921985815602835,
"sibling-role": 0.0
}
},
{
"companion": "Assign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.9763888888888889,
"b_whole": 0.9847222222222223,
"diff_whole": -0.008333333333333415,
"a_nopad": 0.9604166666666667,
"b_nopad": 0.9565217391304348,
"diff_nopad": 0.0038949275362318847,
"b_by_subset": {
"docstring": 1.0,
"comment": 0.9872773536895675,
"string": 0.966903073286052,
"sibling-role": 0.990228013029316
}
},
{
"companion": "AsyncFunctionDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.21319444444444444,
"diff_whole": -0.21319444444444444,
"a_nopad": 0.0,
"b_nopad": 0.24154589371980675,
"diff_nopad": -0.24154589371980675,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"sibling-role": 1.0
}
},
{
"companion": "Attribute",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.9388888888888889,
"b_whole": 0.8194444444444444,
"diff_whole": 0.11944444444444446,
"a_nopad": 0.9104166666666667,
"b_nopad": 0.6859903381642513,
"diff_nopad": 0.2244263285024154,
"b_by_subset": {
"docstring": 0.750788643533123,
"comment": 0.7913486005089059,
"string": 0.806146572104019,
"sibling-role": 0.9446254071661238
}
},
{
"companion": "AugAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.2513888888888889,
"b_whole": 0.24027777777777778,
"diff_whole": 0.0111111111111111,
"a_nopad": 0.25,
"b_nopad": 0.2946859903381642,
"diff_nopad": -0.04468599033816423,
"b_by_subset": {
"docstring": 0.1892744479495268,
"comment": 0.2035623409669211,
"string": 0.19858156028368795,
"sibling-role": 0.3973941368078176
}
},
{
"companion": "BinOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.3958333333333333,
"b_whole": 0.5305555555555556,
"diff_whole": -0.13472222222222224,
"a_nopad": 0.375,
"b_nopad": 0.48792270531400966,
"diff_nopad": -0.11292270531400966,
"b_by_subset": {
"docstring": 0.5173501577287066,
"comment": 0.47837150127226463,
"string": 0.46808510638297873,
"sibling-role": 0.6970684039087948
}
},
{
"companion": "BoolOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.10972222222222222,
"b_whole": 0.0,
"diff_whole": 0.10972222222222222,
"a_nopad": 0.10416666666666667,
"b_nopad": 0.0,
"diff_nopad": 0.10416666666666667,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Call",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.9569444444444445,
"b_whole": 0.8972222222222223,
"diff_whole": 0.05972222222222223,
"a_nopad": 0.9395833333333333,
"b_nopad": 0.7632850241545893,
"diff_nopad": 0.176298309178744,
"b_by_subset": {
"docstring": 0.8643533123028391,
"comment": 0.8753180661577609,
"string": 0.8959810874704491,
"sibling-role": 0.9609120521172638
}
},
{
"companion": "ClassDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.025,
"b_whole": 0.08819444444444445,
"diff_whole": -0.06319444444444444,
"a_nopad": 0.0,
"b_nopad": 0.0821256038647343,
"diff_nopad": -0.0821256038647343,
"b_by_subset": {
"docstring": 0.29337539432176657,
"comment": 0.027989821882951654,
"string": 0.018912529550827423,
"sibling-role": 0.048859934853420196
}
},
{
"companion": "Compare",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.2972222222222222,
"b_whole": 0.021527777777777778,
"diff_whole": 0.27569444444444446,
"a_nopad": 0.27291666666666664,
"b_nopad": 0.0,
"diff_nopad": 0.27291666666666664,
"b_by_subset": {
"docstring": 0.022082018927444796,
"comment": 0.022900763358778626,
"string": 0.02127659574468085,
"sibling-role": 0.019543973941368076
}
},
{
"companion": "Delete",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.005555555555555556,
"b_whole": 0.003472222222222222,
"diff_whole": 0.0020833333333333337,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.006309148264984227,
"comment": 0.0,
"string": 0.004728132387706856,
"sibling-role": 0.003257328990228013
}
},
{
"companion": "Dict",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.16041666666666668,
"b_whole": 0.10138888888888889,
"diff_whole": 0.05902777777777779,
"a_nopad": 0.14791666666666667,
"b_nopad": 0.06280193236714976,
"diff_nopad": 0.08511473429951691,
"b_by_subset": {
"docstring": 0.2744479495268139,
"comment": 0.05597964376590331,
"string": 0.061465721040189124,
"sibling-role": 0.035830618892508145
}
},
{
"companion": "DictComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.003472222222222222,
"b_whole": 0.0006944444444444445,
"diff_whole": 0.0027777777777777775,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.002544529262086514,
"string": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "For",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.1388888888888889,
"b_whole": 0.0,
"diff_whole": 0.1388888888888889,
"a_nopad": 0.13333333333333333,
"b_nopad": 0.0,
"diff_nopad": 0.13333333333333333,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "FormattedValue",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.17708333333333334,
"diff_whole": -0.17708333333333334,
"a_nopad": 0.0,
"b_nopad": 0.12077294685990338,
"diff_nopad": -0.12077294685990338,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.6028368794326241,
"sibling-role": 0.0
}
},
{
"companion": "GeneratorExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0006944444444444445,
"b_whole": 0.0020833333333333333,
"diff_whole": -0.0013888888888888887,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.005089058524173028,
"string": 0.002364066193853428,
"sibling-role": 0.0
}
},
{
"companion": "If",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.6416666666666667,
"b_whole": 0.11180555555555556,
"diff_whole": 0.5298611111111111,
"a_nopad": 0.6375,
"b_nopad": 0.1111111111111111,
"diff_nopad": 0.5263888888888888,
"b_by_subset": {
"docstring": 0.04416403785488959,
"comment": 0.03307888040712468,
"string": 0.030732860520094562,
"sibling-role": 0.3941368078175896
}
},
{
"companion": "IfExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0006944444444444445,
"b_whole": 0.0020833333333333333,
"diff_whole": -0.0013888888888888887,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0031545741324921135,
"comment": 0.002544529262086514,
"string": 0.002364066193853428,
"sibling-role": 0.0
}
},
{
"companion": "Import",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.2263888888888889,
"b_whole": 0.29444444444444445,
"diff_whole": -0.06805555555555556,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.2996845425867508,
"comment": 0.2875318066157761,
"string": 0.29550827423167847,
"sibling-role": 0.2964169381107492
}
},
{
"companion": "ImportFrom",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.46041666666666664,
"b_whole": 0.59375,
"diff_whole": -0.13333333333333336,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.5899053627760252,
"comment": 0.5826972010178118,
"string": 0.6193853427895981,
"sibling-role": 0.5765472312703583
}
},
{
"companion": "JoinedStr",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.17708333333333334,
"diff_whole": -0.17708333333333334,
"a_nopad": 0.0,
"b_nopad": 0.12077294685990338,
"diff_nopad": -0.12077294685990338,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.6028368794326241,
"sibling-role": 0.0
}
},
{
"companion": "Lambda",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.008333333333333333,
"b_whole": 0.009722222222222222,
"diff_whole": -0.0013888888888888892,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.022082018927444796,
"comment": 0.010178117048346057,
"string": 0.002364066193853428,
"sibling-role": 0.006514657980456026
}
},
{
"companion": "List",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.27361111111111114,
"b_whole": 0.10694444444444444,
"diff_whole": 0.16666666666666669,
"a_nopad": 0.20625,
"b_nopad": 0.0,
"diff_nopad": 0.20625,
"b_by_subset": {
"docstring": 0.11041009463722397,
"comment": 0.089058524173028,
"string": 0.12056737588652482,
"sibling-role": 0.10749185667752444
}
},
{
"companion": "ListComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.05625,
"b_whole": 0.0125,
"diff_whole": 0.04375,
"a_nopad": 0.04375,
"b_nopad": 0.0,
"diff_nopad": 0.04375,
"b_by_subset": {
"docstring": 0.012618296529968454,
"comment": 0.010178117048346057,
"string": 0.009456264775413711,
"sibling-role": 0.019543973941368076
}
},
{
"companion": "Pass",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.16180555555555556,
"b_whole": 0.0625,
"diff_whole": 0.09930555555555556,
"a_nopad": 0.13333333333333333,
"b_nopad": 0.06280193236714976,
"diff_nopad": 0.07053140096618357,
"b_by_subset": {
"docstring": 0.06309148264984227,
"comment": 0.058524173027989825,
"string": 0.04964539007092199,
"sibling-role": 0.08469055374592833
}
},
{
"companion": "Raise",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.058333333333333334,
"diff_whole": -0.058333333333333334,
"a_nopad": 0.0,
"b_nopad": 0.057971014492753624,
"diff_nopad": -0.057971014492753624,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.19858156028368795,
"sibling-role": 0.0
}
},
{
"companion": "Return",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.13055555555555556,
"b_whole": 0.034722222222222224,
"diff_whole": 0.09583333333333334,
"a_nopad": 0.125,
"b_nopad": 0.033816425120772944,
"diff_nopad": 0.09118357487922706,
"b_by_subset": {
"docstring": 0.012618296529968454,
"comment": 0.007633587786259542,
"string": 0.0070921985815602835,
"sibling-role": 0.13029315960912052
}
},
{
"companion": "Slice",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.04583333333333333,
"b_whole": 0.011111111111111112,
"diff_whole": 0.03472222222222222,
"a_nopad": 0.03333333333333333,
"b_nopad": 0.0,
"diff_nopad": 0.03333333333333333,
"b_by_subset": {
"docstring": 0.012618296529968454,
"comment": 0.007633587786259542,
"string": 0.014184397163120567,
"sibling-role": 0.009771986970684038
}
},
{
"companion": "Starred",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.003472222222222222,
"b_whole": 0.003472222222222222,
"diff_whole": 0.0,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.00946372239747634,
"comment": 0.0,
"string": 0.002364066193853428,
"sibling-role": 0.003257328990228013
}
},
{
"companion": "Subscript",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.40069444444444446,
"b_whole": 0.32013888888888886,
"diff_whole": 0.0805555555555556,
"a_nopad": 0.32083333333333336,
"b_nopad": 0.17391304347826086,
"diff_nopad": 0.1469202898550725,
"b_by_subset": {
"docstring": 0.29652996845425866,
"comment": 0.2544529262086514,
"string": 0.28132387706855794,
"sibling-role": 0.4820846905537459
}
},
{
"companion": "Try",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0006944444444444445,
"b_whole": 0.0006944444444444445,
"diff_whole": 0.0,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0031545741324921135,
"comment": 0.0,
"string": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Tuple",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.32222222222222224,
"b_whole": 0.2,
"diff_whole": 0.12222222222222223,
"a_nopad": 0.24791666666666667,
"b_nopad": 0.0,
"diff_nopad": 0.24791666666666667,
"b_by_subset": {
"docstring": 0.1829652996845426,
"comment": 0.1984732824427481,
"string": 0.2222222222222222,
"sibling-role": 0.18892508143322476
}
},
{
"companion": "UnaryOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.14652777777777778,
"b_whole": 0.02013888888888889,
"diff_whole": 0.12638888888888888,
"a_nopad": 0.12708333333333333,
"b_nopad": 0.0,
"diff_nopad": 0.12708333333333333,
"b_by_subset": {
"docstring": 0.012618296529968454,
"comment": 0.02544529262086514,
"string": 0.016548463356973995,
"sibling-role": 0.026058631921824105
}
}
]
},
"If": {
"n": {
"a_whole": 1440,
"b_whole": 1440,
"a_nopad": 480,
"b_nopad": 372
},
"b_subsets": {
"comment": 386,
"docstring": 388,
"string": 399,
"sibling-role": 267
},
"n_companions": 35,
"asymmetry_max": {
"all_whole": 0.6777777777777778,
"all_nopad": 0.6875,
"excl_audit_components_whole": 0.6777777777777778,
"excl_audit_components_nopad": 0.6875,
"excl_inventory_components_whole": 0.6777777777777778,
"excl_inventory_components_nopad": 0.6875
},
"asymmetry_l2": {
"all_whole": 0.9194195301256892,
"all_nopad": 0.98874119606307,
"excl_audit_components_whole": 0.9194195301256892,
"excl_audit_components_nopad": 0.98874119606307,
"excl_inventory_components_whole": 0.9194195301256892,
"excl_inventory_components_nopad": 0.98874119606307
},
"n_companions_by_way": {
"all": 35,
"excl_audit_components": 35,
"excl_inventory_components": 35
},
"stored_asymmetry_max": 0.75,
"stored_asymmetry_l2": 1.326376643340797,
"stored_n_companions": 21,
"stored_n_a": 360,
"stored_n_b": 1440,
"over_cap_whole_excl_audit": [
"Compare",
"For",
"UnaryOp",
"FormattedValue",
"JoinedStr",
"IfExp",
"BoolOp"
],
"mean_b_share_by_subset": {
"docstring": 0.17952871870397644,
"comment": 0.15492227979274614,
"string": 0.19505907626208377,
"sibling-role": 0.2023542001070091
},
"shares": [
{
"companion": "AnnAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.001388888888888889,
"b_whole": 0.0006944444444444445,
"diff_whole": 0.0006944444444444445,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"sibling-role": 0.003745318352059925
}
},
{
"companion": "Assert",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.004166666666666667,
"b_whole": 0.005555555555555556,
"diff_whole": -0.0013888888888888892,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.005154639175257732,
"comment": 0.0051813471502590676,
"string": 0.010025062656641603,
"sibling-role": 0.0
}
},
{
"companion": "Assign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.9194444444444444,
"b_whole": 0.99375,
"diff_whole": -0.07430555555555562,
"a_nopad": 0.85625,
"b_nopad": 0.989247311827957,
"diff_nopad": -0.13299731182795704,
"b_by_subset": {
"docstring": 0.9974226804123711,
"comment": 0.9948186528497409,
"string": 0.9974937343358395,
"sibling-role": 0.9812734082397003
}
},
{
"companion": "Attribute",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.8618055555555556,
"b_whole": 0.8979166666666667,
"diff_whole": -0.036111111111111094,
"a_nopad": 0.8125,
"b_nopad": 0.8602150537634409,
"diff_nopad": -0.04771505376344087,
"b_by_subset": {
"docstring": 0.8943298969072165,
"comment": 0.8963730569948186,
"string": 0.8947368421052632,
"sibling-role": 0.9101123595505618
}
},
{
"companion": "AugAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.2513888888888889,
"b_whole": 0.33541666666666664,
"diff_whole": -0.08402777777777776,
"a_nopad": 0.25,
"b_nopad": 0.3225806451612903,
"diff_nopad": -0.07258064516129031,
"b_by_subset": {
"docstring": 0.2757731958762887,
"comment": 0.32124352331606215,
"string": 0.2907268170426065,
"sibling-role": 0.5093632958801498
}
},
{
"companion": "BinOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.39791666666666664,
"b_whole": 0.4465277777777778,
"diff_whole": -0.04861111111111116,
"a_nopad": 0.375,
"b_nopad": 0.4381720430107527,
"diff_nopad": -0.06317204301075269,
"b_by_subset": {
"docstring": 0.4742268041237113,
"comment": 0.43523316062176165,
"string": 0.43358395989974935,
"sibling-role": 0.4419475655430712
}
},
{
"companion": "BoolOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.16597222222222222,
"b_whole": 0.0006944444444444445,
"diff_whole": 0.16527777777777777,
"a_nopad": 0.16875,
"b_nopad": 0.0,
"diff_nopad": 0.16875,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0025906735751295338,
"string": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Break",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.027777777777777776,
"b_whole": 0.0,
"diff_whole": 0.027777777777777776,
"a_nopad": 0.022916666666666665,
"b_nopad": 0.0,
"diff_nopad": 0.022916666666666665,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Call",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.8583333333333333,
"b_whole": 0.7131944444444445,
"diff_whole": 0.14513888888888882,
"a_nopad": 0.7979166666666667,
"b_nopad": 0.5161290322580645,
"diff_nopad": 0.2817876344086022,
"b_by_subset": {
"docstring": 0.7216494845360825,
"comment": 0.7331606217616581,
"string": 0.7543859649122807,
"sibling-role": 0.6104868913857678
}
},
{
"companion": "ClassDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.02361111111111111,
"b_whole": 0.06944444444444445,
"diff_whole": -0.04583333333333334,
"a_nopad": 0.0,
"b_nopad": 0.04838709677419355,
"diff_nopad": -0.04838709677419355,
"b_by_subset": {
"docstring": 0.19845360824742267,
"comment": 0.025906735751295335,
"string": 0.015037593984962405,
"sibling-role": 0.026217228464419477
}
},
{
"companion": "Compare",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.69375,
"b_whole": 0.01597222222222222,
"diff_whole": 0.6777777777777778,
"a_nopad": 0.6875,
"b_nopad": 0.0,
"diff_nopad": 0.6875,
"b_by_subset": {
"docstring": 0.020618556701030927,
"comment": 0.015544041450777202,
"string": 0.022556390977443608,
"sibling-role": 0.0
}
},
{
"companion": "Delete",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.002777777777777778,
"b_whole": 0.002777777777777778,
"diff_whole": 0.0,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.005154639175257732,
"comment": 0.0025906735751295338,
"string": 0.002506265664160401,
"sibling-role": 0.0
}
},
{
"companion": "Dict",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.08263888888888889,
"b_whole": 0.12013888888888889,
"diff_whole": -0.037500000000000006,
"a_nopad": 0.05416666666666667,
"b_nopad": 0.10215053763440861,
"diff_nopad": -0.04798387096774194,
"b_by_subset": {
"docstring": 0.24484536082474226,
"comment": 0.031088082901554404,
"string": 0.040100250626566414,
"sibling-role": 0.18726591760299627
}
},
{
"companion": "DictComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.0006944444444444445,
"diff_whole": -0.0006944444444444445,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.002577319587628866,
"comment": 0.0,
"string": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "For",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.125,
"b_whole": 0.4888888888888889,
"diff_whole": -0.3638888888888889,
"a_nopad": 0.125,
"b_nopad": 0.45698924731182794,
"diff_nopad": -0.33198924731182794,
"b_by_subset": {
"docstring": 0.5051546391752577,
"comment": 0.4844559585492228,
"string": 0.5162907268170426,
"sibling-role": 0.4307116104868914
}
},
{
"companion": "FormattedValue",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.17708333333333334,
"diff_whole": -0.17708333333333334,
"a_nopad": 0.0,
"b_nopad": 0.22580645161290322,
"diff_nopad": -0.22580645161290322,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.6390977443609023,
"sibling-role": 0.0
}
},
{
"companion": "FunctionDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.1375,
"b_whole": 0.11597222222222223,
"diff_whole": 0.021527777777777785,
"a_nopad": 0.1375,
"b_nopad": 0.13172043010752688,
"diff_nopad": 0.005779569892473135,
"b_by_subset": {
"docstring": 0.22422680412371135,
"comment": 0.0,
"string": 0.007518796992481203,
"sibling-role": 0.2883895131086142
}
},
{
"companion": "GeneratorExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.002777777777777778,
"b_whole": 0.0006944444444444445,
"diff_whole": 0.0020833333333333333,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0025906735751295338,
"string": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "IfExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.015277777777777777,
"b_whole": 0.18611111111111112,
"diff_whole": -0.17083333333333334,
"a_nopad": 0.014583333333333334,
"b_nopad": 0.20430107526881722,
"diff_nopad": -0.18971774193548388,
"b_by_subset": {
"docstring": 0.002577319587628866,
"comment": 0.0,
"string": 0.0,
"sibling-role": 1.0
}
},
{
"companion": "Import",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.25625,
"b_whole": 0.28125,
"diff_whole": -0.025000000000000022,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.30927835051546393,
"comment": 0.3005181347150259,
"string": 0.24310776942355888,
"sibling-role": 0.2696629213483146
}
},
{
"companion": "ImportFrom",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.4583333333333333,
"b_whole": 0.4840277777777778,
"diff_whole": -0.025694444444444464,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.49742268041237114,
"comment": 0.49222797927461137,
"string": 0.49373433583959897,
"sibling-role": 0.43820224719101125
}
},
{
"companion": "JoinedStr",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.17708333333333334,
"diff_whole": -0.17708333333333334,
"a_nopad": 0.0,
"b_nopad": 0.22580645161290322,
"diff_nopad": -0.22580645161290322,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.6390977443609023,
"sibling-role": 0.0
}
},
{
"companion": "Lambda",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.008333333333333333,
"b_whole": 0.00625,
"diff_whole": 0.002083333333333333,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.007731958762886598,
"comment": 0.0051813471502590676,
"string": 0.0,
"sibling-role": 0.0149812734082397
}
},
{
"companion": "List",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.17222222222222222,
"b_whole": 0.0875,
"diff_whole": 0.08472222222222223,
"a_nopad": 0.1,
"b_nopad": 0.0,
"diff_nopad": 0.1,
"b_by_subset": {
"docstring": 0.07731958762886598,
"comment": 0.10362694300518134,
"string": 0.07769423558897243,
"sibling-role": 0.09363295880149813
}
},
{
"companion": "ListComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.029861111111111113,
"b_whole": 0.008333333333333333,
"diff_whole": 0.021527777777777778,
"a_nopad": 0.0125,
"b_nopad": 0.0,
"diff_nopad": 0.0125,
"b_by_subset": {
"docstring": 0.007731958762886598,
"comment": 0.007772020725388601,
"string": 0.012531328320802004,
"sibling-role": 0.003745318352059925
}
},
{
"companion": "Pass",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.03958333333333333,
"b_whole": 0.02013888888888889,
"diff_whole": 0.01944444444444444,
"a_nopad": 0.0125,
"b_nopad": 0.0,
"diff_nopad": 0.0125,
"b_by_subset": {
"docstring": 0.020618556701030927,
"comment": 0.025906735751295335,
"string": 0.015037593984962405,
"sibling-role": 0.018726591760299626
}
},
{
"companion": "Raise",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.043055555555555555,
"diff_whole": -0.043055555555555555,
"a_nopad": 0.0,
"b_nopad": 0.01881720430107527,
"diff_nopad": -0.01881720430107527,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.15538847117794485,
"sibling-role": 0.0
}
},
{
"companion": "Return",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.13680555555555557,
"b_whole": 0.11458333333333333,
"diff_whole": 0.02222222222222224,
"a_nopad": 0.1375,
"b_nopad": 0.13172043010752688,
"diff_nopad": 0.005779569892473135,
"b_by_subset": {
"docstring": 0.2190721649484536,
"comment": 0.0,
"string": 0.007518796992481203,
"sibling-role": 0.2883895131086142
}
},
{
"companion": "Slice",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.041666666666666664,
"b_whole": 0.008333333333333333,
"diff_whole": 0.03333333333333333,
"a_nopad": 0.03125,
"b_nopad": 0.0,
"diff_nopad": 0.03125,
"b_by_subset": {
"docstring": 0.007731958762886598,
"comment": 0.0025906735751295338,
"string": 0.015037593984962405,
"sibling-role": 0.00749063670411985
}
},
{
"companion": "Starred",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.003472222222222222,
"b_whole": 0.0006944444444444445,
"diff_whole": 0.0027777777777777775,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.002577319587628866,
"comment": 0.0,
"string": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Subscript",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.5645833333333333,
"b_whole": 0.43680555555555556,
"diff_whole": 0.12777777777777777,
"a_nopad": 0.5125,
"b_nopad": 0.3602150537634409,
"diff_nopad": 0.15228494623655908,
"b_by_subset": {
"docstring": 0.43556701030927836,
"comment": 0.4170984455958549,
"string": 0.42857142857142855,
"sibling-role": 0.4794007490636704
}
},
{
"companion": "Try",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0006944444444444445,
"b_whole": 0.0,
"diff_whole": 0.0006944444444444445,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Tuple",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.21805555555555556,
"b_whole": 0.10138888888888889,
"diff_whole": 0.11666666666666667,
"a_nopad": 0.14375,
"b_nopad": 0.0,
"diff_nopad": 0.14375,
"b_by_subset": {
"docstring": 0.10824742268041238,
"comment": 0.11139896373056994,
"string": 0.10776942355889724,
"sibling-role": 0.06741573033707865
}
},
{
"companion": "UnaryOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.23125,
"b_whole": 0.010416666666666666,
"diff_whole": 0.22083333333333335,
"a_nopad": 0.24166666666666667,
"b_nopad": 0.0,
"diff_nopad": 0.24166666666666667,
"b_by_subset": {
"docstring": 0.01804123711340206,
"comment": 0.0051813471502590676,
"string": 0.007518796992481203,
"sibling-role": 0.011235955056179775
}
},
{
"companion": "While",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.027777777777777776,
"b_whole": 0.0,
"diff_whole": 0.027777777777777776,
"a_nopad": 0.022916666666666665,
"b_nopad": 0.0,
"diff_nopad": 0.022916666666666665,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"sibling-role": 0.0
}
}
]
},
"Match": {
"n": {
"a_whole": 1440,
"b_whole": 1440,
"a_nopad": 480,
"b_nopad": 507
},
"b_subsets": {
"comment": 515,
"string": 477,
"docstring": 448
},
"n_companions": 33,
"asymmetry_max": {
"all_whole": 0.9798611111111111,
"all_nopad": 1.0,
"excl_audit_components_whole": 0.9798611111111111,
"excl_audit_components_nopad": 1.0,
"excl_inventory_components_whole": 0.18611111111111112,
"excl_inventory_components_nopad": 0.2612179487179487
},
"asymmetry_l2": {
"all_whole": 1.0564280476716847,
"all_nopad": 1.1022452444457376,
"excl_audit_components_whole": 1.0564280476716847,
"excl_audit_components_nopad": 1.1022452444457376,
"excl_inventory_components_whole": 0.39485747155081946,
"excl_inventory_components_nopad": 0.4636211588174596
},
"n_companions_by_way": {
"all": 33,
"excl_audit_components": 33,
"excl_inventory_components": 32
},
"stored_asymmetry_max": 0.968,
"stored_asymmetry_l2": 1.317324561374303,
"stored_n_companions": 18,
"stored_n_a": 360,
"stored_n_b": 1395,
"over_cap_whole_excl_audit": [
"Pass",
"FormattedValue",
"JoinedStr"
],
"mean_b_share_by_subset": {
"docstring": 0.15645292207792208,
"comment": 0.1416887319799941,
"string": 0.1773076678737056
},
"shares": [
{
"companion": "AnnAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0006944444444444445,
"b_whole": 0.001388888888888889,
"diff_whole": -0.0006944444444444445,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0041928721174004195
}
},
{
"companion": "Assert",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.003472222222222222,
"b_whole": 0.035416666666666666,
"diff_whole": -0.03194444444444444,
"a_nopad": 0.0,
"b_nopad": 0.03747534516765286,
"diff_nopad": -0.03747534516765286,
"b_by_subset": {
"docstring": 0.004464285714285714,
"comment": 0.08932038834951456,
"string": 0.006289308176100629
}
},
{
"companion": "Assign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.8284722222222223,
"b_whole": 0.9743055555555555,
"diff_whole": -0.14583333333333326,
"a_nopad": 0.6875,
"b_nopad": 0.9487179487179487,
"diff_nopad": -0.2612179487179487,
"b_by_subset": {
"docstring": 0.9888392857142857,
"comment": 0.9786407766990292,
"string": 0.9559748427672956
}
},
{
"companion": "Attribute",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.6902777777777778,
"b_whole": 0.6840277777777778,
"diff_whole": 0.006249999999999978,
"a_nopad": 0.5625,
"b_nopad": 0.5641025641025641,
"diff_nopad": -0.0016025641025640969,
"b_by_subset": {
"docstring": 0.6629464285714286,
"comment": 0.7048543689320388,
"string": 0.6813417190775681
}
},
{
"companion": "AugAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.37569444444444444,
"b_whole": 0.3875,
"diff_whole": -0.011805555555555569,
"a_nopad": 0.375,
"b_nopad": 0.36489151873767256,
"diff_nopad": 0.01010848126232744,
"b_by_subset": {
"docstring": 0.390625,
"comment": 0.3825242718446602,
"string": 0.389937106918239
}
},
{
"companion": "BinOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.39375,
"b_whole": 0.3715277777777778,
"diff_whole": 0.0222222222222222,
"a_nopad": 0.375,
"b_nopad": 0.34516765285996054,
"diff_nopad": 0.02983234714003946,
"b_by_subset": {
"docstring": 0.40401785714285715,
"comment": 0.36310679611650487,
"string": 0.350104821802935
}
},
{
"companion": "BoolOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0020833333333333333,
"b_whole": 0.001388888888888889,
"diff_whole": 0.0006944444444444444,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.002232142857142857,
"comment": 0.001941747572815534,
"string": 0.0
}
},
{
"companion": "Call",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.5930555555555556,
"b_whole": 0.6770833333333334,
"diff_whole": -0.08402777777777781,
"a_nopad": 0.375,
"b_nopad": 0.514792899408284,
"diff_nopad": -0.139792899408284,
"b_by_subset": {
"docstring": 0.6495535714285714,
"comment": 0.6233009708737864,
"string": 0.7610062893081762
}
},
{
"companion": "ClassDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.018055555555555554,
"b_whole": 0.0798611111111111,
"diff_whole": -0.06180555555555555,
"a_nopad": 0.0,
"b_nopad": 0.05325443786982249,
"diff_nopad": -0.05325443786982249,
"b_by_subset": {
"docstring": 0.21428571428571427,
"comment": 0.013592233009708738,
"string": 0.025157232704402517
}
},
{
"companion": "Compare",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.013194444444444444,
"b_whole": 0.01597222222222222,
"diff_whole": -0.0027777777777777766,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.015625,
"comment": 0.009708737864077669,
"string": 0.023060796645702306
}
},
{
"companion": "Delete",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.002777777777777778,
"b_whole": 0.0020833333333333333,
"diff_whole": 0.0006944444444444446,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.006289308176100629
}
},
{
"companion": "Dict",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.024305555555555556,
"b_whole": 0.16180555555555556,
"diff_whole": -0.1375,
"a_nopad": 0.0,
"b_nopad": 0.1341222879684418,
"diff_nopad": -0.1341222879684418,
"b_by_subset": {
"docstring": 0.21651785714285715,
"comment": 0.21553398058252426,
"string": 0.05241090146750524
}
},
{
"companion": "DictComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.001388888888888889,
"b_whole": 0.002777777777777778,
"diff_whole": -0.001388888888888889,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.006696428571428571,
"comment": 0.001941747572815534,
"string": 0.0
}
},
{
"companion": "FormattedValue",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.18611111111111112,
"diff_whole": -0.18611111111111112,
"a_nopad": 0.0,
"b_nopad": 0.16765285996055226,
"diff_nopad": -0.16765285996055226,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.5618448637316562
}
},
{
"companion": "FunctionDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.004166666666666667,
"b_whole": 0.06111111111111111,
"diff_whole": -0.05694444444444444,
"a_nopad": 0.0,
"b_nopad": 0.047337278106508875,
"diff_nopad": -0.047337278106508875,
"b_by_subset": {
"docstring": 0.17633928571428573,
"comment": 0.007766990291262136,
"string": 0.010482180293501049
}
},
{
"companion": "GeneratorExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.0006944444444444445,
"diff_whole": -0.0006944444444444445,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.001941747572815534,
"string": 0.0
}
},
{
"companion": "If",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.0006944444444444445,
"diff_whole": -0.0006944444444444445,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0020964360587002098
}
},
{
"companion": "IfExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.001388888888888889,
"b_whole": 0.0006944444444444445,
"diff_whole": 0.0006944444444444445,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.001941747572815534,
"string": 0.0
}
},
{
"companion": "Import",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.2298611111111111,
"b_whole": 0.28194444444444444,
"diff_whole": -0.05208333333333334,
"a_nopad": 0.0,
"b_nopad": 0.03747534516765286,
"diff_nopad": -0.03747534516765286,
"b_by_subset": {
"docstring": 0.265625,
"comment": 0.32038834951456313,
"string": 0.2557651991614256
}
},
{
"companion": "ImportFrom",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.43472222222222223,
"b_whole": 0.40902777777777777,
"diff_whole": 0.025694444444444464,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.4174107142857143,
"comment": 0.39805825242718446,
"string": 0.4129979035639413
}
},
{
"companion": "JoinedStr",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.18611111111111112,
"diff_whole": -0.18611111111111112,
"a_nopad": 0.0,
"b_nopad": 0.16765285996055226,
"diff_nopad": -0.16765285996055226,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.5618448637316562
}
},
{
"companion": "Lambda",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.004166666666666667,
"b_whole": 0.007638888888888889,
"diff_whole": -0.003472222222222222,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.004464285714285714,
"comment": 0.013592233009708738,
"string": 0.0041928721174004195
}
},
{
"companion": "List",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.07222222222222222,
"b_whole": 0.06944444444444445,
"diff_whole": 0.002777777777777768,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.08035714285714286,
"comment": 0.05436893203883495,
"string": 0.07547169811320754
}
},
{
"companion": "ListComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.008333333333333333,
"b_whole": 0.008333333333333333,
"diff_whole": 0.0,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.008928571428571428,
"comment": 0.007766990291262136,
"string": 0.008385744234800839
}
},
{
"companion": "Pass",
"exempt_audit": false,
"exempt_inventory": true,
"a_whole": 1.0,
"b_whole": 0.02013888888888889,
"diff_whole": 0.9798611111111111,
"a_nopad": 1.0,
"b_nopad": 0.0,
"diff_nopad": 1.0,
"b_by_subset": {
"docstring": 0.022321428571428572,
"comment": 0.015533980582524271,
"string": 0.023060796645702306
}
},
{
"companion": "Raise",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.07222222222222222,
"diff_whole": -0.07222222222222222,
"a_nopad": 0.0,
"b_nopad": 0.06903353057199212,
"diff_nopad": -0.06903353057199212,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.2180293501048218
}
},
{
"companion": "Return",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.003472222222222222,
"b_whole": 0.06041666666666667,
"diff_whole": -0.05694444444444444,
"a_nopad": 0.0,
"b_nopad": 0.047337278106508875,
"diff_nopad": -0.047337278106508875,
"b_by_subset": {
"docstring": 0.17633928571428573,
"comment": 0.007766990291262136,
"string": 0.008385744234800839
}
},
{
"companion": "Slice",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.010416666666666666,
"b_whole": 0.007638888888888889,
"diff_whole": 0.0027777777777777775,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.004464285714285714,
"comment": 0.013592233009708738,
"string": 0.0041928721174004195
}
},
{
"companion": "Starred",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.001388888888888889,
"b_whole": 0.001388888888888889,
"diff_whole": 0.0,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.001941747572815534,
"string": 0.0020964360587002098
}
},
{
"companion": "Subscript",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.22361111111111112,
"b_whole": 0.3576388888888889,
"diff_whole": -0.13402777777777777,
"a_nopad": 0.125,
"b_nopad": 0.3175542406311637,
"diff_nopad": -0.19255424063116372,
"b_by_subset": {
"docstring": 0.3794642857142857,
"comment": 0.34757281553398056,
"string": 0.3480083857442348
}
},
{
"companion": "Try",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.0006944444444444445,
"diff_whole": -0.0006944444444444445,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.001941747572815534,
"string": 0.0
}
},
{
"companion": "Tuple",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.10902777777777778,
"b_whole": 0.08055555555555556,
"diff_whole": 0.028472222222222218,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.06919642857142858,
"comment": 0.08349514563106795,
"string": 0.0880503144654088
}
},
{
"companion": "UnaryOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.007638888888888889,
"b_whole": 0.009027777777777777,
"diff_whole": -0.0013888888888888883,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.002232142857142857,
"comment": 0.013592233009708738,
"string": 0.010482180293501049
}
}
]
},
"Try": {
"n": {
"a_whole": 1440,
"b_whole": 1440,
"a_nopad": 480,
"b_nopad": 203
},
"b_subsets": {
"string": 511,
"comment": 466,
"docstring": 463
},
"n_companions": 33,
"asymmetry_max": {
"all_whole": 0.26597222222222217,
"all_nopad": 0.5240968801313629,
"excl_audit_components_whole": 0.26597222222222217,
"excl_audit_components_nopad": 0.5240968801313629,
"excl_inventory_components_whole": 0.26597222222222217,
"excl_inventory_components_nopad": 0.5240968801313629
},
"asymmetry_l2": {
"all_whole": 0.5722984880406206,
"all_nopad": 0.7292269759947743,
"excl_audit_components_whole": 0.5722984880406206,
"excl_audit_components_nopad": 0.7292269759947743,
"excl_inventory_components_whole": 0.5722984880406206,
"excl_inventory_components_nopad": 0.7292269759947743
},
"n_companions_by_way": {
"all": 33,
"excl_audit_components": 33,
"excl_inventory_components": 33
},
"stored_asymmetry_max": 0.75,
"stored_asymmetry_l2": 1.0049184046478599,
"stored_n_companions": 19,
"stored_n_a": 360,
"stored_n_b": 1440,
"over_cap_whole_excl_audit": [
"Call",
"FormattedValue",
"JoinedStr",
"If",
"Compare",
"Tuple"
],
"mean_b_share_by_subset": {
"docstring": 0.18777406898357224,
"comment": 0.16035895435037067,
"string": 0.2083852220838522
},
"shares": [
{
"companion": "AnnAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.001388888888888889,
"b_whole": 0.003472222222222222,
"diff_whole": -0.002083333333333333,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0021598272138228943,
"comment": 0.004291845493562232,
"string": 0.003913894324853229
}
},
{
"companion": "Assert",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.003472222222222222,
"b_whole": 0.004166666666666667,
"diff_whole": -0.0006944444444444446,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0064794816414686825,
"comment": 0.002145922746781116,
"string": 0.003913894324853229
}
},
{
"companion": "Assign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 1.0,
"b_whole": 1.0,
"diff_whole": 0.0,
"a_nopad": 1.0,
"b_nopad": 1.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 1.0,
"comment": 1.0,
"string": 1.0
}
},
{
"companion": "Attribute",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.8701388888888889,
"b_whole": 0.8180555555555555,
"diff_whole": 0.05208333333333337,
"a_nopad": 0.8145833333333333,
"b_nopad": 0.7093596059113301,
"diff_nopad": 0.10522372742200325,
"b_by_subset": {
"docstring": 0.8185745140388769,
"comment": 0.8068669527896996,
"string": 0.8277886497064579
}
},
{
"companion": "AugAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.375,
"b_whole": 0.35138888888888886,
"diff_whole": 0.023611111111111138,
"a_nopad": 0.375,
"b_nopad": 0.35467980295566504,
"diff_nopad": 0.020320197044334964,
"b_by_subset": {
"docstring": 0.3369330453563715,
"comment": 0.3776824034334764,
"string": 0.3405088062622309
}
},
{
"companion": "BinOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.39375,
"b_whole": 0.37430555555555556,
"diff_whole": 0.01944444444444443,
"a_nopad": 0.375,
"b_nopad": 0.29064039408866993,
"diff_nopad": 0.08435960591133007,
"b_by_subset": {
"docstring": 0.38444924406047515,
"comment": 0.3626609442060086,
"string": 0.37573385518590996
}
},
{
"companion": "BoolOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.06111111111111111,
"b_whole": 0.003472222222222222,
"diff_whole": 0.057638888888888885,
"a_nopad": 0.05,
"b_nopad": 0.0,
"diff_nopad": 0.05,
"b_by_subset": {
"docstring": 0.004319654427645789,
"comment": 0.004291845493562232,
"string": 0.0019569471624266144
}
},
{
"companion": "Call",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.9395833333333333,
"b_whole": 0.6736111111111112,
"diff_whole": 0.26597222222222217,
"a_nopad": 0.9083333333333333,
"b_nopad": 0.3842364532019704,
"diff_nopad": 0.5240968801313629,
"b_by_subset": {
"docstring": 0.6285097192224622,
"comment": 0.648068669527897,
"string": 0.7377690802348337
}
},
{
"companion": "ClassDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.022916666666666665,
"b_whole": 0.09791666666666667,
"diff_whole": -0.075,
"a_nopad": 0.0,
"b_nopad": 0.06896551724137931,
"diff_nopad": -0.06896551724137931,
"b_by_subset": {
"docstring": 0.22894168466522677,
"comment": 0.032188841201716736,
"string": 0.03913894324853229
}
},
{
"companion": "Compare",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.21180555555555555,
"b_whole": 0.011805555555555555,
"diff_whole": 0.2,
"a_nopad": 0.21458333333333332,
"b_nopad": 0.0,
"diff_nopad": 0.21458333333333332,
"b_by_subset": {
"docstring": 0.017278617710583154,
"comment": 0.008583690987124463,
"string": 0.009784735812133072
}
},
{
"companion": "Delete",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0020833333333333333,
"b_whole": 0.004861111111111111,
"diff_whole": -0.002777777777777778,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.008639308855291577,
"comment": 0.002145922746781116,
"string": 0.003913894324853229
}
},
{
"companion": "Dict",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.09236111111111112,
"b_whole": 0.09375,
"diff_whole": -0.001388888888888884,
"a_nopad": 0.07291666666666667,
"b_nopad": 0.04433497536945813,
"diff_nopad": 0.028581691297208542,
"b_by_subset": {
"docstring": 0.2267818574514039,
"comment": 0.032188841201716736,
"string": 0.029354207436399216
}
},
{
"companion": "DictComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0020833333333333333,
"b_whole": 0.001388888888888889,
"diff_whole": 0.0006944444444444444,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0021598272138228943,
"comment": 0.002145922746781116,
"string": 0.0
}
},
{
"companion": "For",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.04861111111111111,
"b_whole": 0.0,
"diff_whole": 0.04861111111111111,
"a_nopad": 0.05625,
"b_nopad": 0.0,
"diff_nopad": 0.05625,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0
}
},
{
"companion": "FormattedValue",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.2152777777777778,
"diff_whole": -0.2152777777777778,
"a_nopad": 0.0,
"b_nopad": 0.21674876847290642,
"diff_nopad": -0.21674876847290642,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.6066536203522505
}
},
{
"companion": "FunctionDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.11041666666666666,
"b_whole": 0.07222222222222222,
"diff_whole": 0.03819444444444445,
"a_nopad": 0.09791666666666667,
"b_nopad": 0.08374384236453201,
"diff_nopad": 0.014172824302134651,
"b_by_subset": {
"docstring": 0.20086393088552915,
"comment": 0.012875536480686695,
"string": 0.009784735812133072
}
},
{
"companion": "GeneratorExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0020833333333333333,
"b_whole": 0.004861111111111111,
"diff_whole": -0.002777777777777778,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.004319654427645789,
"comment": 0.004291845493562232,
"string": 0.005870841487279843
}
},
{
"companion": "If",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.2125,
"b_whole": 0.0,
"diff_whole": 0.2125,
"a_nopad": 0.2,
"b_nopad": 0.0,
"diff_nopad": 0.2,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0
}
},
{
"companion": "IfExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0020833333333333333,
"b_whole": 0.0006944444444444445,
"diff_whole": 0.0013888888888888887,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0019569471624266144
}
},
{
"companion": "Import",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.2798611111111111,
"b_whole": 0.29305555555555557,
"diff_whole": -0.013194444444444453,
"a_nopad": 0.05,
"b_nopad": 0.0,
"diff_nopad": 0.05,
"b_by_subset": {
"docstring": 0.31317494600431967,
"comment": 0.27682403433476394,
"string": 0.2896281800391389
}
},
{
"companion": "ImportFrom",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.45069444444444445,
"b_whole": 0.58125,
"diff_whole": -0.1305555555555556,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.5896328293736501,
"comment": 0.5836909871244635,
"string": 0.5714285714285714
}
},
{
"companion": "JoinedStr",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.2152777777777778,
"diff_whole": -0.2152777777777778,
"a_nopad": 0.0,
"b_nopad": 0.21674876847290642,
"diff_nopad": -0.21674876847290642,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.6066536203522505
}
},
{
"companion": "Lambda",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.010416666666666666,
"b_whole": 0.008333333333333333,
"diff_whole": 0.002083333333333333,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.004319654427645789,
"comment": 0.008583690987124463,
"string": 0.011741682974559686
}
},
{
"companion": "List",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.1597222222222222,
"b_whole": 0.10208333333333333,
"diff_whole": 0.05763888888888888,
"a_nopad": 0.07916666666666666,
"b_nopad": 0.0,
"diff_nopad": 0.07916666666666666,
"b_by_subset": {
"docstring": 0.09719222462203024,
"comment": 0.10085836909871244,
"string": 0.10763209393346379
}
},
{
"companion": "ListComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.007638888888888889,
"b_whole": 0.011111111111111112,
"diff_whole": -0.003472222222222223,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.004319654427645789,
"comment": 0.017167381974248927,
"string": 0.011741682974559686
}
},
{
"companion": "Pass",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.3298611111111111,
"b_whole": 0.35833333333333334,
"diff_whole": -0.028472222222222232,
"a_nopad": 0.3125,
"b_nopad": 0.32019704433497537,
"diff_nopad": -0.007697044334975367,
"b_by_subset": {
"docstring": 0.3801295896328294,
"comment": 0.3261802575107296,
"string": 0.3679060665362035
}
},
{
"companion": "Raise",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.06736111111111111,
"diff_whole": -0.06736111111111111,
"a_nopad": 0.0,
"b_nopad": 0.06403940886699508,
"diff_nopad": -0.06403940886699508,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.1898238747553816
}
},
{
"companion": "Return",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.11041666666666666,
"b_whole": 0.07222222222222222,
"diff_whole": 0.03819444444444445,
"a_nopad": 0.09791666666666667,
"b_nopad": 0.08374384236453201,
"diff_nopad": 0.014172824302134651,
"b_by_subset": {
"docstring": 0.20086393088552915,
"comment": 0.012875536480686695,
"string": 0.009784735812133072
}
},
{
"companion": "Slice",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.03680555555555556,
"b_whole": 0.013194444444444444,
"diff_whole": 0.02361111111111111,
"a_nopad": 0.03125,
"b_nopad": 0.0,
"diff_nopad": 0.03125,
"b_by_subset": {
"docstring": 0.004319654427645789,
"comment": 0.017167381974248927,
"string": 0.01761252446183953
}
},
{
"companion": "Starred",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.0020833333333333333,
"diff_whole": -0.0020833333333333333,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.005870841487279843
}
},
{
"companion": "Subscript",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.3909722222222222,
"b_whole": 0.3090277777777778,
"diff_whole": 0.08194444444444443,
"a_nopad": 0.31666666666666665,
"b_nopad": 0.1724137931034483,
"diff_nopad": 0.14425287356321836,
"b_by_subset": {
"docstring": 0.31533477321814257,
"comment": 0.30257510729613735,
"string": 0.30919765166340507
}
},
{
"companion": "Tuple",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.21388888888888888,
"b_whole": 0.3659722222222222,
"diff_whole": -0.15208333333333332,
"a_nopad": 0.125,
"b_nopad": 0.19704433497536947,
"diff_nopad": -0.07204433497536947,
"b_by_subset": {
"docstring": 0.4038876889848812,
"comment": 0.33261802575107297,
"string": 0.36203522504892366
}
},
{
"companion": "UnaryOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.08333333333333333,
"b_whole": 0.014583333333333334,
"diff_whole": 0.06874999999999999,
"a_nopad": 0.08333333333333333,
"b_nopad": 0.0,
"diff_nopad": 0.08333333333333333,
"b_by_subset": {
"docstring": 0.012958963282937365,
"comment": 0.012875536480686695,
"string": 0.01761252446183953
}
}
]
},
"While": {
"n": {
"a_whole": 1440,
"b_whole": 1440,
"a_nopad": 480,
"b_nopad": 244
},
"b_subsets": {
"docstring": 475,
"string": 496,
"comment": 469
},
"n_companions": 36,
"asymmetry_max": {
"all_whole": 0.4979166666666667,
"all_nopad": 0.5421448087431694,
"excl_audit_components_whole": 0.4979166666666667,
"excl_audit_components_nopad": 0.5421448087431694,
"excl_inventory_components_whole": 0.4979166666666667,
"excl_inventory_components_nopad": 0.5421448087431694
},
"asymmetry_l2": {
"all_whole": 1.057602866534726,
"all_nopad": 1.2004995169066148,
"excl_audit_components_whole": 1.057602866534726,
"excl_audit_components_nopad": 1.2004995169066148,
"excl_inventory_components_whole": 1.0427242316655296,
"excl_inventory_components_nopad": 1.187412771572302
},
"n_companions_by_way": {
"all": 36,
"excl_audit_components": 36,
"excl_inventory_components": 34
},
"stored_asymmetry_max": 0.875,
"stored_asymmetry_l2": 1.3896891738802601,
"stored_n_companions": 24,
"stored_n_a": 360,
"stored_n_b": 1440,
"over_cap_whole_excl_audit": [
"UnaryOp",
"If",
"AugAssign",
"Compare",
"BoolOp",
"Attribute",
"Tuple",
"FormattedValue",
"JoinedStr",
"Call",
"Subscript"
],
"mean_b_share_by_subset": {
"docstring": 0.19654970760233917,
"comment": 0.17022032693674488,
"string": 0.20827732974910396
},
"shares": [
{
"companion": "AnnAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0020833333333333333,
"b_whole": 0.0020833333333333333,
"diff_whole": 0.0,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.004210526315789474,
"comment": 0.0021321961620469083,
"string": 0.0
}
},
{
"companion": "Assert",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.004166666666666667,
"b_whole": 0.004861111111111111,
"diff_whole": -0.0006944444444444446,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.002105263157894737,
"comment": 0.006396588486140725,
"string": 0.006048387096774193
}
},
{
"companion": "Assign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.9986111111111111,
"b_whole": 1.0,
"diff_whole": -0.001388888888888884,
"a_nopad": 0.9958333333333333,
"b_nopad": 1.0,
"diff_nopad": -0.004166666666666652,
"b_by_subset": {
"docstring": 1.0,
"comment": 1.0,
"string": 1.0
}
},
{
"companion": "Attribute",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.8888888888888888,
"b_whole": 0.6333333333333333,
"diff_whole": 0.25555555555555554,
"a_nopad": 0.8270833333333333,
"b_nopad": 0.3360655737704918,
"diff_nopad": 0.4910177595628415,
"b_by_subset": {
"docstring": 0.6210526315789474,
"comment": 0.6289978678038379,
"string": 0.6491935483870968
}
},
{
"companion": "AugAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.6506944444444445,
"b_whole": 0.3055555555555556,
"diff_whole": 0.3451388888888889,
"a_nopad": 0.6520833333333333,
"b_nopad": 0.3319672131147541,
"diff_nopad": 0.32011612021857927,
"b_by_subset": {
"docstring": 0.33052631578947367,
"comment": 0.3283582089552239,
"string": 0.2600806451612903
}
},
{
"companion": "BinOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.40555555555555556,
"b_whole": 0.3173611111111111,
"diff_whole": 0.08819444444444446,
"a_nopad": 0.3645833333333333,
"b_nopad": 0.319672131147541,
"diff_nopad": 0.04491120218579231,
"b_by_subset": {
"docstring": 0.3136842105263158,
"comment": 0.326226012793177,
"string": 0.3125
}
},
{
"companion": "BoolOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.2652777777777778,
"b_whole": 0.0020833333333333333,
"diff_whole": 0.26319444444444445,
"a_nopad": 0.26666666666666666,
"b_nopad": 0.0,
"diff_nopad": 0.26666666666666666,
"b_by_subset": {
"docstring": 0.004210526315789474,
"comment": 0.0,
"string": 0.0020161290322580645
}
},
{
"companion": "Break",
"exempt_audit": false,
"exempt_inventory": true,
"a_whole": 0.125,
"b_whole": 0.0,
"diff_whole": 0.125,
"a_nopad": 0.125,
"b_nopad": 0.0,
"diff_nopad": 0.125,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0
}
},
{
"companion": "Call",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.9659722222222222,
"b_whole": 0.76875,
"diff_whole": 0.1972222222222222,
"a_nopad": 0.9395833333333333,
"b_nopad": 0.5737704918032787,
"diff_nopad": 0.36581284153005467,
"b_by_subset": {
"docstring": 0.76,
"comment": 0.7377398720682303,
"string": 0.8064516129032258
}
},
{
"companion": "ClassDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.024305555555555556,
"b_whole": 0.08958333333333333,
"diff_whole": -0.06527777777777778,
"a_nopad": 0.0,
"b_nopad": 0.05737704918032787,
"diff_nopad": -0.05737704918032787,
"b_by_subset": {
"docstring": 0.21263157894736842,
"comment": 0.031982942430703626,
"string": 0.02620967741935484
}
},
{
"companion": "Compare",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.6916666666666667,
"b_whole": 1.0,
"diff_whole": -0.30833333333333335,
"a_nopad": 0.6875,
"b_nopad": 1.0,
"diff_nopad": -0.3125,
"b_by_subset": {
"docstring": 1.0,
"comment": 1.0,
"string": 1.0
}
},
{
"companion": "Continue",
"exempt_audit": false,
"exempt_inventory": true,
"a_whole": 0.125,
"b_whole": 0.0,
"diff_whole": 0.125,
"a_nopad": 0.125,
"b_nopad": 0.0,
"diff_nopad": 0.125,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0
}
},
{
"companion": "Delete",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.004166666666666667,
"b_whole": 0.00625,
"diff_whole": -0.0020833333333333337,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.00631578947368421,
"comment": 0.0042643923240938165,
"string": 0.008064516129032258
}
},
{
"companion": "Dict",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.06944444444444445,
"b_whole": 0.10694444444444444,
"diff_whole": -0.03749999999999999,
"a_nopad": 0.022916666666666665,
"b_nopad": 0.045081967213114756,
"diff_nopad": -0.02216530054644809,
"b_by_subset": {
"docstring": 0.22105263157894736,
"comment": 0.046908315565031986,
"string": 0.05443548387096774
}
},
{
"companion": "DictComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.002777777777777778,
"b_whole": 0.002777777777777778,
"diff_whole": 0.0,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.002105263157894737,
"comment": 0.0,
"string": 0.006048387096774193
}
},
{
"companion": "For",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.1361111111111111,
"b_whole": 0.0,
"diff_whole": 0.1361111111111111,
"a_nopad": 0.14166666666666666,
"b_nopad": 0.0,
"diff_nopad": 0.14166666666666666,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0
}
},
{
"companion": "FormattedValue",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.20694444444444443,
"diff_whole": -0.20694444444444443,
"a_nopad": 0.0,
"b_nopad": 0.20901639344262296,
"diff_nopad": -0.20901639344262296,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.6008064516129032
}
},
{
"companion": "FunctionDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.11597222222222223,
"b_whole": 0.07569444444444444,
"diff_whole": 0.04027777777777779,
"a_nopad": 0.10625,
"b_nopad": 0.04918032786885246,
"diff_nopad": 0.05706967213114754,
"b_by_subset": {
"docstring": 0.21263157894736842,
"comment": 0.0042643923240938165,
"string": 0.012096774193548387
}
},
{
"companion": "GeneratorExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.003472222222222222,
"b_whole": 0.002777777777777778,
"diff_whole": 0.0006944444444444441,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.00631578947368421,
"comment": 0.0,
"string": 0.0020161290322580645
}
},
{
"companion": "If",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.7465277777777778,
"b_whole": 0.3055555555555556,
"diff_whole": 0.4409722222222222,
"a_nopad": 0.7354166666666667,
"b_nopad": 0.3319672131147541,
"diff_nopad": 0.40344945355191264,
"b_by_subset": {
"docstring": 0.33052631578947367,
"comment": 0.3283582089552239,
"string": 0.2600806451612903
}
},
{
"companion": "IfExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0006944444444444445,
"b_whole": 0.002777777777777778,
"diff_whole": -0.0020833333333333333,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.00631578947368421,
"comment": 0.0021321961620469083,
"string": 0.0
}
},
{
"companion": "Import",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.2534722222222222,
"b_whole": 0.28888888888888886,
"diff_whole": -0.03541666666666665,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.3431578947368421,
"comment": 0.255863539445629,
"string": 0.26814516129032256
}
},
{
"companion": "ImportFrom",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.4340277777777778,
"b_whole": 0.5777777777777777,
"diff_whole": -0.14374999999999993,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.5705263157894737,
"comment": 0.5863539445628998,
"string": 0.5766129032258065
}
},
{
"companion": "JoinedStr",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.20694444444444443,
"diff_whole": -0.20694444444444443,
"a_nopad": 0.0,
"b_nopad": 0.20901639344262296,
"diff_nopad": -0.20901639344262296,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.6008064516129032
}
},
{
"companion": "Lambda",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.006944444444444444,
"b_whole": 0.011111111111111112,
"diff_whole": -0.0041666666666666675,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.023157894736842106,
"comment": 0.0042643923240938165,
"string": 0.006048387096774193
}
},
{
"companion": "List",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.1736111111111111,
"b_whole": 0.10694444444444444,
"diff_whole": 0.06666666666666667,
"a_nopad": 0.09375,
"b_nopad": 0.0,
"diff_nopad": 0.09375,
"b_by_subset": {
"docstring": 0.12,
"comment": 0.08742004264392324,
"string": 0.11290322580645161
}
},
{
"companion": "ListComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.004166666666666667,
"b_whole": 0.013888888888888888,
"diff_whole": -0.009722222222222222,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.010526315789473684,
"comment": 0.019189765458422176,
"string": 0.012096774193548387
}
},
{
"companion": "Pass",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.15833333333333333,
"b_whole": 0.027777777777777776,
"diff_whole": 0.13055555555555554,
"a_nopad": 0.14166666666666666,
"b_nopad": 0.0,
"diff_nopad": 0.14166666666666666,
"b_by_subset": {
"docstring": 0.02736842105263158,
"comment": 0.029850746268656716,
"string": 0.02620967741935484
}
},
{
"companion": "Raise",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.06388888888888888,
"diff_whole": -0.06388888888888888,
"a_nopad": 0.0,
"b_nopad": 0.08196721311475409,
"diff_nopad": -0.08196721311475409,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.18548387096774194
}
},
{
"companion": "Return",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.11527777777777778,
"b_whole": 0.075,
"diff_whole": 0.04027777777777779,
"a_nopad": 0.10625,
"b_nopad": 0.04918032786885246,
"diff_nopad": 0.05706967213114754,
"b_by_subset": {
"docstring": 0.21263157894736842,
"comment": 0.0042643923240938165,
"string": 0.010080645161290322
}
},
{
"companion": "Slice",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.12708333333333333,
"b_whole": 0.011111111111111112,
"diff_whole": 0.11597222222222221,
"a_nopad": 0.12708333333333333,
"b_nopad": 0.0,
"diff_nopad": 0.12708333333333333,
"b_by_subset": {
"docstring": 0.01263157894736842,
"comment": 0.0021321961620469083,
"string": 0.018145161290322582
}
},
{
"companion": "Starred",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.001388888888888889,
"b_whole": 0.0020833333333333333,
"diff_whole": -0.0006944444444444444,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.002105263157894737,
"comment": 0.0021321961620469083,
"string": 0.0020161290322580645
}
},
{
"companion": "Subscript",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.6625,
"b_whole": 0.4847222222222222,
"diff_whole": 0.17777777777777776,
"a_nopad": 0.625,
"b_nopad": 0.4057377049180328,
"diff_nopad": 0.2192622950819672,
"b_by_subset": {
"docstring": 0.5052631578947369,
"comment": 0.464818763326226,
"string": 0.4838709677419355
}
},
{
"companion": "Try",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.0006944444444444445,
"diff_whole": -0.0006944444444444445,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0020161290322580645
}
},
{
"companion": "Tuple",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.3625,
"b_whole": 0.15347222222222223,
"diff_whole": 0.20902777777777776,
"a_nopad": 0.29583333333333334,
"b_nopad": 0.0,
"diff_nopad": 0.29583333333333334,
"b_by_subset": {
"docstring": 0.15578947368421053,
"comment": 0.16204690831556504,
"string": 0.1431451612903226
}
},
{
"companion": "UnaryOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.5527777777777778,
"b_whole": 0.05486111111111111,
"diff_whole": 0.4979166666666667,
"a_nopad": 0.5708333333333333,
"b_nopad": 0.028688524590163935,
"diff_nopad": 0.5421448087431694,
"b_by_subset": {
"docstring": 0.05894736842105263,
"comment": 0.06183368869936034,
"string": 0.04435483870967742
}
}
]
},
"With": {
"n": {
"a_whole": 1440,
"b_whole": 1440,
"a_nopad": 480,
"b_nopad": 198
},
"b_subsets": {
"string": 397,
"sibling-role": 293,
"docstring": 379,
"comment": 371
},
"n_companions": 36,
"asymmetry_max": {
"all_whole": 0.35277777777777775,
"all_nopad": 0.6666666666666667,
"excl_audit_components_whole": 0.35277777777777775,
"excl_audit_components_nopad": 0.6666666666666667,
"excl_inventory_components_whole": 0.35277777777777775,
"excl_inventory_components_nopad": 0.6666666666666667
},
"asymmetry_l2": {
"all_whole": 0.6929873602609801,
"all_nopad": 1.0295350777771413,
"excl_audit_components_whole": 0.6929873602609801,
"excl_audit_components_nopad": 1.0295350777771413,
"excl_inventory_components_whole": 0.6929873602609801,
"excl_inventory_components_nopad": 1.0295350777771413
},
"n_companions_by_way": {
"all": 36,
"excl_audit_components": 36,
"excl_inventory_components": 36
},
"stored_asymmetry_max": 0.844,
"stored_asymmetry_l2": 1.1329104112859056,
"stored_n_companions": 20,
"stored_n_a": 360,
"stored_n_b": 1440,
"over_cap_whole_excl_audit": [
"Call",
"Attribute",
"AsyncFunctionDef",
"AsyncWith",
"FormattedValue",
"JoinedStr",
"ImportFrom"
],
"mean_b_share_by_subset": {
"docstring": 0.1555262386396951,
"comment": 0.1307277628032345,
"string": 0.17177441925552758,
"sibling-role": 0.2153962836556693
},
"shares": [
{
"companion": "AnnAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.001388888888888889,
"b_whole": 0.004861111111111111,
"diff_whole": -0.003472222222222222,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.010554089709762533,
"comment": 0.008086253369272238,
"string": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "Assert",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.04583333333333333,
"b_whole": 0.004166666666666667,
"diff_whole": 0.041666666666666664,
"a_nopad": 0.05625,
"b_nopad": 0.0,
"diff_nopad": 0.05625,
"b_by_subset": {
"docstring": 0.005277044854881266,
"comment": 0.005390835579514825,
"string": 0.0025188916876574307,
"sibling-role": 0.0034129692832764505
}
},
{
"companion": "Assign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.9944444444444445,
"b_whole": 0.9583333333333334,
"diff_whole": 0.036111111111111094,
"a_nopad": 0.9875,
"b_nopad": 0.8939393939393939,
"diff_nopad": 0.09356060606060612,
"b_by_subset": {
"docstring": 0.978891820580475,
"comment": 0.9865229110512129,
"string": 0.947103274559194,
"sibling-role": 0.9112627986348123
}
},
{
"companion": "AsyncFunctionDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.20347222222222222,
"diff_whole": -0.20347222222222222,
"a_nopad": 0.0,
"b_nopad": 0.25252525252525254,
"diff_nopad": -0.25252525252525254,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"sibling-role": 1.0
}
},
{
"companion": "AsyncWith",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.20347222222222222,
"diff_whole": -0.20347222222222222,
"a_nopad": 0.0,
"b_nopad": 0.25252525252525254,
"diff_nopad": -0.25252525252525254,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"sibling-role": 1.0
}
},
{
"companion": "Attribute",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.9847222222222223,
"b_whole": 0.6791666666666667,
"diff_whole": 0.3055555555555556,
"a_nopad": 0.9770833333333333,
"b_nopad": 0.47474747474747475,
"diff_nopad": 0.5023358585858586,
"b_by_subset": {
"docstring": 0.633245382585752,
"comment": 0.6388140161725068,
"string": 0.690176322418136,
"sibling-role": 0.7747440273037542
}
},
{
"companion": "AugAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.25277777777777777,
"b_whole": 0.2833333333333333,
"diff_whole": -0.030555555555555558,
"a_nopad": 0.25,
"b_nopad": 0.3181818181818182,
"diff_nopad": -0.06818181818181818,
"b_by_subset": {
"docstring": 0.20580474934036938,
"comment": 0.21293800539083557,
"string": 0.24937027707808565,
"sibling-role": 0.5187713310580204
}
},
{
"companion": "BinOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.3958333333333333,
"b_whole": 0.4444444444444444,
"diff_whole": -0.048611111111111105,
"a_nopad": 0.375,
"b_nopad": 0.41919191919191917,
"diff_nopad": -0.04419191919191917,
"b_by_subset": {
"docstring": 0.42744063324538256,
"comment": 0.40970350404312667,
"string": 0.4357682619647355,
"sibling-role": 0.5221843003412969
}
},
{
"companion": "BoolOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.027777777777777776,
"b_whole": 0.002777777777777778,
"diff_whole": 0.024999999999999998,
"a_nopad": 0.022916666666666665,
"b_nopad": 0.0,
"diff_nopad": 0.022916666666666665,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.005390835579514825,
"string": 0.0025188916876574307,
"sibling-role": 0.0034129692832764505
}
},
{
"companion": "Call",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 1.0,
"b_whole": 0.6472222222222223,
"diff_whole": 0.35277777777777775,
"a_nopad": 1.0,
"b_nopad": 0.3333333333333333,
"diff_nopad": 0.6666666666666667,
"b_by_subset": {
"docstring": 0.58311345646438,
"comment": 0.5309973045822103,
"string": 0.6599496221662469,
"sibling-role": 0.8600682593856656
}
},
{
"companion": "ClassDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.022222222222222223,
"b_whole": 0.07708333333333334,
"diff_whole": -0.05486111111111111,
"a_nopad": 0.0,
"b_nopad": 0.03535353535353535,
"diff_nopad": -0.03535353535353535,
"b_by_subset": {
"docstring": 0.22163588390501318,
"comment": 0.013477088948787063,
"string": 0.02518891687657431,
"sibling-role": 0.040955631399317405
}
},
{
"companion": "Compare",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.13680555555555557,
"b_whole": 0.016666666666666666,
"diff_whole": 0.1201388888888889,
"a_nopad": 0.13333333333333333,
"b_nopad": 0.0,
"diff_nopad": 0.13333333333333333,
"b_by_subset": {
"docstring": 0.018469656992084433,
"comment": 0.026954177897574125,
"string": 0.010075566750629723,
"sibling-role": 0.010238907849829351
}
},
{
"companion": "Delete",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.004861111111111111,
"b_whole": 0.004166666666666667,
"diff_whole": 0.0006944444444444446,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.002638522427440633,
"comment": 0.0026954177897574125,
"string": 0.007556675062972292,
"sibling-role": 0.0034129692832764505
}
},
{
"companion": "Dict",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.12430555555555556,
"b_whole": 0.08263888888888889,
"diff_whole": 0.04166666666666667,
"a_nopad": 0.11041666666666666,
"b_nopad": 0.020202020202020204,
"diff_nopad": 0.09021464646464646,
"b_by_subset": {
"docstring": 0.22163588390501318,
"comment": 0.03773584905660377,
"string": 0.030226700251889168,
"sibling-role": 0.030716723549488054
}
},
{
"companion": "DictComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.002777777777777778,
"b_whole": 0.0020833333333333333,
"diff_whole": 0.0006944444444444446,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0026954177897574125,
"string": 0.0025188916876574307,
"sibling-role": 0.0034129692832764505
}
},
{
"companion": "For",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.10625,
"b_whole": 0.0,
"diff_whole": 0.10625,
"a_nopad": 0.10625,
"b_nopad": 0.0,
"diff_nopad": 0.10625,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "FormattedValue",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.16597222222222222,
"diff_whole": -0.16597222222222222,
"a_nopad": 0.0,
"b_nopad": 0.21212121212121213,
"diff_nopad": -0.21212121212121213,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.6020151133501259,
"sibling-role": 0.0
}
},
{
"companion": "FunctionDef",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.06736111111111111,
"b_whole": 0.07013888888888889,
"diff_whole": -0.002777777777777782,
"a_nopad": 0.05625,
"b_nopad": 0.0707070707070707,
"diff_nopad": -0.014457070707070703,
"b_by_subset": {
"docstring": 0.24538258575197888,
"comment": 0.005390835579514825,
"string": 0.012594458438287154,
"sibling-role": 0.0034129692832764505
}
},
{
"companion": "GeneratorExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.001388888888888889,
"b_whole": 0.002777777777777778,
"diff_whole": -0.001388888888888889,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0079155672823219,
"comment": 0.0026954177897574125,
"string": 0.0,
"sibling-role": 0.0
}
},
{
"companion": "If",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.3125,
"b_whole": 0.2791666666666667,
"diff_whole": 0.033333333333333326,
"a_nopad": 0.3125,
"b_nopad": 0.3181818181818182,
"diff_nopad": -0.005681818181818177,
"b_by_subset": {
"docstring": 0.20316622691292877,
"comment": 0.21024258760107817,
"string": 0.24685138539042822,
"sibling-role": 0.5085324232081911
}
},
{
"companion": "IfExp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0006944444444444445,
"b_whole": 0.0006944444444444445,
"diff_whole": 0.0,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"sibling-role": 0.0034129692832764505
}
},
{
"companion": "Import",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.22708333333333333,
"b_whole": 0.30069444444444443,
"diff_whole": -0.0736111111111111,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.29815303430079154,
"comment": 0.32345013477088946,
"string": 0.2947103274559194,
"sibling-role": 0.2832764505119454
}
},
{
"companion": "ImportFrom",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.44027777777777777,
"b_whole": 0.6041666666666666,
"diff_whole": -0.16388888888888886,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.604221635883905,
"comment": 0.6522911051212938,
"string": 0.6070528967254408,
"sibling-role": 0.5392491467576792
}
},
{
"companion": "JoinedStr",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.16597222222222222,
"diff_whole": -0.16597222222222222,
"a_nopad": 0.0,
"b_nopad": 0.21212121212121213,
"diff_nopad": -0.21212121212121213,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.6020151133501259,
"sibling-role": 0.0
}
},
{
"companion": "Lambda",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.008333333333333333,
"b_whole": 0.010416666666666666,
"diff_whole": -0.002083333333333333,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.021108179419525065,
"comment": 0.01078167115902965,
"string": 0.005037783375314861,
"sibling-role": 0.0034129692832764505
}
},
{
"companion": "List",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.2513888888888889,
"b_whole": 0.10555555555555556,
"diff_whole": 0.14583333333333331,
"a_nopad": 0.18333333333333332,
"b_nopad": 0.0,
"diff_nopad": 0.18333333333333332,
"b_by_subset": {
"docstring": 0.10554089709762533,
"comment": 0.1105121293800539,
"string": 0.08816120906801007,
"sibling-role": 0.12286689419795221
}
},
{
"companion": "ListComp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.029166666666666667,
"b_whole": 0.013888888888888888,
"diff_whole": 0.015277777777777779,
"a_nopad": 0.0125,
"b_nopad": 0.0,
"diff_nopad": 0.0125,
"b_by_subset": {
"docstring": 0.013192612137203167,
"comment": 0.0215633423180593,
"string": 0.012594458438287154,
"sibling-role": 0.006825938566552901
}
},
{
"companion": "Pass",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.13055555555555556,
"b_whole": 0.02638888888888889,
"diff_whole": 0.10416666666666667,
"a_nopad": 0.10625,
"b_nopad": 0.0,
"diff_nopad": 0.10625,
"b_by_subset": {
"docstring": 0.026385224274406333,
"comment": 0.013477088948787063,
"string": 0.027707808564231738,
"sibling-role": 0.040955631399317405
}
},
{
"companion": "Raise",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0,
"b_whole": 0.04861111111111111,
"diff_whole": -0.04861111111111111,
"a_nopad": 0.0,
"b_nopad": 0.045454545454545456,
"diff_nopad": -0.045454545454545456,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.17632241813602015,
"sibling-role": 0.0
}
},
{
"companion": "Return",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.06666666666666667,
"b_whole": 0.07013888888888889,
"diff_whole": -0.0034722222222222238,
"a_nopad": 0.05625,
"b_nopad": 0.0707070707070707,
"diff_nopad": -0.014457070707070703,
"b_by_subset": {
"docstring": 0.24538258575197888,
"comment": 0.005390835579514825,
"string": 0.012594458438287154,
"sibling-role": 0.0034129692832764505
}
},
{
"companion": "Slice",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.03263888888888889,
"b_whole": 0.009027777777777777,
"diff_whole": 0.023611111111111114,
"a_nopad": 0.022916666666666665,
"b_nopad": 0.0,
"diff_nopad": 0.022916666666666665,
"b_by_subset": {
"docstring": 0.013192612137203167,
"comment": 0.008086253369272238,
"string": 0.010075566750629723,
"sibling-role": 0.0034129692832764505
}
},
{
"companion": "Starred",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.0006944444444444445,
"b_whole": 0.001388888888888889,
"diff_whole": -0.0006944444444444445,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.002638522427440633,
"comment": 0.0,
"string": 0.0025188916876574307,
"sibling-role": 0.0
}
},
{
"companion": "Subscript",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.34444444444444444,
"b_whole": 0.3229166666666667,
"diff_whole": 0.021527777777777757,
"a_nopad": 0.26458333333333334,
"b_nopad": 0.21717171717171718,
"diff_nopad": 0.047411616161616155,
"b_by_subset": {
"docstring": 0.32981530343007914,
"comment": 0.30997304582210244,
"string": 0.27455919395465994,
"sibling-role": 0.39590443686006827
}
},
{
"companion": "Try",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.002777777777777778,
"b_whole": 0.0006944444444444445,
"diff_whole": 0.0020833333333333333,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0025188916876574307,
"sibling-role": 0.0
}
},
{
"companion": "Tuple",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.26319444444444445,
"b_whole": 0.13819444444444445,
"diff_whole": 0.125,
"a_nopad": 0.18333333333333332,
"b_nopad": 0.0,
"diff_nopad": 0.18333333333333332,
"b_by_subset": {
"docstring": 0.15567282321899736,
"comment": 0.1347708894878706,
"string": 0.12342569269521411,
"sibling-role": 0.13993174061433447
}
},
{
"companion": "UnaryOp",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.06597222222222222,
"b_whole": 0.018055555555555554,
"diff_whole": 0.04791666666666667,
"a_nopad": 0.06458333333333334,
"b_nopad": 0.0,
"diff_nopad": 0.06458333333333334,
"b_by_subset": {
"docstring": 0.018469656992084433,
"comment": 0.016172506738544475,
"string": 0.020151133501259445,
"sibling-role": 0.017064846416382253
}
}
]
}
},
"summary": {
"n_constructs": 8,
"cap": 0.15,
"asymmetry_max": {
"all_whole": {
"median": 0.44305555555555554,
"min": 0.22777777777777775,
"max": 0.9798611111111111,
"n_over_cap": 8,
"n": 8
},
"all_nopad": {
"median": 0.5941490539734049,
"min": 0.35758228840125394,
"max": 1.0,
"n_over_cap": 8,
"n": 8
},
"excl_audit_components_whole": {
"median": 0.44305555555555554,
"min": 0.22777777777777775,
"max": 0.9798611111111111,
"n_over_cap": 8,
"n": 8
},
"excl_audit_components_nopad": {
"median": 0.5941490539734049,
"min": 0.35758228840125394,
"max": 1.0,
"n_over_cap": 8,
"n": 8
},
"excl_inventory_components_whole": {
"median": 0.37048611111111107,
"min": 0.18611111111111112,
"max": 0.6777777777777778,
"n_over_cap": 8,
"n": 8
},
"excl_inventory_components_nopad": {
"median": 0.5342668488160291,
"min": 0.2612179487179487,
"max": 0.6875,
"n_over_cap": 8,
"n": 8
}
},
"n_companion_pairs_over_cap_whole_excl_audit": 62,
"stored_median": 0.7969999999999999
},
"table_b3": {
"what": "the source of Table B.3's asymmetry columns and of TABLE_B3.csv: the battery's own counts, excl_inventory_components -- the construct's own components exempt, taken from the inventory's `components` field (inventory/build.py :: COMPONENTS), on Piotr's decision of 5 Nov",
"which_list": "inventory_v2.json :: components, 15 constructs; the generator's audit list (generate/audit.py :: COMPONENTS) has one entry, Match, and differs for four of these eight. The pre-registration names no component list for this check; where it refers to one at all (DEVIATIONS, the composite-date test) it is the inventory's.",
"columns": [
"construct",
"asymmetry_l2_whole",
"asymmetry_l2_nopad",
"asymmetry_max_whole",
"asymmetry_max_nopad",
"n_companions"
],
"caption_note": "the asymmetry columns are counts over prompt text and have no layer; only the concept norm is at layer 12",
"rows": [
[
"ClassDef",
1.063998806694889,
1.3111424610277425,
0.38819444444444445,
0.6461532992036405,
33
],
[
"For",
0.6438312755837146,
0.78030117695772,
0.22777777777777775,
0.35758228840125394,
36
],
[
"FunctionDef",
0.8121432027605252,
0.8634781967000663,
0.5298611111111111,
0.5263888888888888,
34
],
[
"If",
0.9194195301256892,
0.98874119606307,
0.6777777777777778,
0.6875,
35
],
[
"Match",
0.39485747155081946,
0.4636211588174596,
0.18611111111111112,
0.2612179487179487,
32
],
[
"Try",
0.5722984880406206,
0.7292269759947743,
0.26597222222222217,
0.5240968801313629,
33
],
[
"While",
1.0427242316655296,
1.187412771572302,
0.4979166666666667,
0.5421448087431694,
34
],
[
"With",
0.6929873602609801,
1.0295350777771413,
0.35277777777777775,
0.6666666666666667,
36
]
],
"audit_list_beside": {
"what": "the same four columns under the generator's audit list, for comparison",
"rows": [
[
"ClassDef",
1.063998806694889,
1.3111424610277425,
0.38819444444444445,
0.6461532992036405,
33
],
[
"For",
0.6676591281632814,
0.8000749507149959,
0.22777777777777775,
0.35758228840125394,
38
],
[
"FunctionDef",
0.8121432027605252,
0.8634781967000663,
0.5298611111111111,
0.5263888888888888,
34
],
[
"If",
0.9194195301256892,
0.98874119606307,
0.6777777777777778,
0.6875,
35
],
[
"Match",
1.0564280476716847,
1.1022452444457376,
0.9798611111111111,
1.0,
33
],
[
"Try",
0.5722984880406206,
0.7292269759947743,
0.26597222222222217,
0.5240968801313629,
33
],
[
"While",
1.057602866534726,
1.2004995169066148,
0.4979166666666667,
0.5421448087431694,
36
],
[
"With",
0.6929873602609801,
1.0295350777771413,
0.35277777777777775,
0.6666666666666667,
36
]
]
}
},
"minutes": 0.0201622207959493,
"provenance": {
"inputs": [
"phase_battery/twin{1,2}/*_{A,B}.jsonl.gz",
"probe/companions.json",
"inventory/inventory_v2.json"
],
"reference": null,
"battery_prompt_hash": "570b42db13f8fe5772b8d1a9ad7d55d6fa1279dae5948ad94e8363789bcbc1ad",
"code_commit": "bc68286",
"design": "9-Paper-1/2610-18Oct_PAPER-1-Design.md sha256 47f6a664\u2026"
}
}
{
"what": "check 6's companion asymmetry recomputed on the stored battery, for the eight constructs Table B.3 reports",
"definition": {
"share": "the fraction of a set's prompts in which the companion construct appears, by profilebattery.generate.audit.present on the prompt text",
"diff": "share(A) - share(B)",
"asymmetry_max": "max |diff|, and asymmetry_l2 the L2 norm of the diff vector -- the two quantities Table B.3 carries. checks.companion_leakage takes them over whatever companions companions.json logs, and audit() has already dropped audit.COMPONENTS before logging, so the like-for-like replacement is the excl_audit_components column",
"layer_12": "reaches only concept_norm, not the asymmetry",
"cap": "the design caps |diff| at 0.15 for these constructs, components exempt",
"scoping": {
"whole": "all prompts, counted from line 1: padding included, an upper bound",
"nopad": "the padding == 0 prompts only, where body_start == 1 and the count is exactly the generator's; A is a third of each set by design, B is not, so B's cell mix shifts"
},
"component_lists": "audit.COMPONENTS is what the code exempts; the inventory's `components` field is a different list; both reported",
"source": "phase_battery, both twins -- NOT the regenerated sample that probe/companions.json was built from"
},
"fixed_before_computing": true,
"per_construct": {
"ClassDef": {
"n": {
"a_whole": 1440,
"b_whole": 1440,
"a_nopad": 480,
"b_nopad": 293
},
"b_subsets": {
"docstring": 420,
"comment": 478,
"string": 512,
"identifier": 30
},
"n_companions": 33,
"asymmetry_max": {
"all_whole": 0.38819444444444445,
"all_nopad": 0.6461532992036405,
"excl_audit_components_whole": 0.38819444444444445,
"excl_audit_components_nopad": 0.6461532992036405,
"excl_inventory_components_whole": 0.38819444444444445,
"excl_inventory_components_nopad": 0.6461532992036405
},
"asymmetry_l2": {
"all_whole": 1.063998806694889,
"all_nopad": 1.3111424610277425,
"excl_audit_components_whole": 1.063998806694889,
"excl_audit_components_nopad": 1.3111424610277425,
"excl_inventory_components_whole": 1.063998806694889,
"excl_inventory_components_nopad": 1.3111424610277425
},
"n_companions_by_way": {
"all": 33,
"excl_audit_components": 33,
"excl_inventory_components": 33
},
"stored_asymmetry_max": 0.625,
"stored_asymmetry_l2": 1.0309097923678872,
"stored_n_companions": 16,
"stored_n_a": 360,
"stored_n_b": 1440,
"over_cap_whole_excl_audit": [
"If",
"List",
"Call",
"Compare",
"Subscript",
"BinOp",
"Tuple",
"For",
"FormattedValue",
"JoinedStr",
"UnaryOp",
"Pass",
"Dict",
"BoolOp"
],
"mean_b_share_by_subset": {
"docstring": 0.16132756132756132,
"comment": 0.14403448713072142,
"string": 0.1885653409090909,
"identifier": 0.18080808080808083
},
"shares": [
{
"companion": "AnnAssign",
"exempt_audit": false,
"exempt_inventory": false,
"a_whole": 0.001388888888888889,
"b_whole": 0.0,
"diff_whole": 0.001388888888888889,
"a_nopad": 0.0,
"b_nopad": 0.0,
"diff_nopad": 0.0,
"b_by_subset": {
"docstring": 0.0,
"comment": 0.0,
"string": 0.0,
"identifier": 0.0
}
},
{
"companion": "Assert",
"exempt_audit": false,