Skip to content

skpkg: fix migrated tests #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ repos:
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: ^tests/output/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove these excludes?

- id: trailing-whitespace
- id: check-case-conflict
- id: check-merge-conflict
Expand Down Expand Up @@ -55,6 +56,7 @@ repos:
rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8
hooks:
- id: prettier
exclude: ^tests/output/
additional_dependencies:
- "prettier@^3.2.4"
# docformatter - PEP 257 compliant docstring formatter
Expand Down
15 changes: 1 addition & 14 deletions tests/output/output_1/component_index_vs_RE_value.json
Original file line number Diff line number Diff line change
@@ -1,14 +1 @@
{
"0": {
"1": 297.2320764418,
"2": 99.3169152025,
"3": 0.1930209752,
"4": 0.1930209752,
"5": 0.1930209752,
"6": 0.1930209752,
"7": 0.1930209752,
"8": 0.1930209752,
"9": 0.1930209752,
"10": 0.1930209752
}
}
{"0":{"1":297.2320764418,"2":99.3169152025,"3":0.1930209752,"4":0.1930209752,"5":0.1930209752,"6":0.1930209752,"7":0.1930209752,"8":0.1930209752,"9":0.1930209752,"10":0.1930209752}}
53 changes: 1 addition & 52 deletions tests/output/output_1/component_index_vs_pratio_col.json
Original file line number Diff line number Diff line change
@@ -1,52 +1 @@
{
"0": { "0": 0.1012347369, "1": 0.0761357385, "2": 0.8226295245 },
"1": { "0": 0.1010235873, "1": 0.0779591956, "2": 0.8210172171 },
"2": { "0": 0.0994416662, "1": 0.0916204305, "2": 0.8089379033 },
"3": { "0": 0.0887636744, "1": 0.1838339774, "2": 0.7274023482 },
"4": { "0": 0.0474476951, "1": 0.5411997046, "2": 0.4113526004 },
"5": { "0": 0.0087175609, "1": 0.8962651575, "2": 0.0950172816 },
"6": { "0": 0.0010510094, "1": 0.9857832857, "2": 0.0131657049 },
"7": { "0": 0.0037712798, "1": 0.9949611562, "2": 0.0012675641 },
"8": { "0": 0.0098830598, "1": 0.9901169402, "2": 0.0 },
"9": { "0": 0.0189903523, "1": 0.9810096477, "2": 0.0 },
"10": { "0": 0.0316610363, "1": 0.9683389637, "2": 0.0 },
"11": { "0": 0.0486184937, "1": 0.9513815063, "2": 0.0 },
"12": { "0": 0.070690848, "1": 0.929309152, "2": 0.0 },
"13": { "0": 0.0987468127, "1": 0.9012531873, "2": 0.0 },
"14": { "0": 0.1336502636, "1": 0.8663497364, "2": 0.0 },
"15": { "0": 0.1761934011, "1": 0.8238065989, "2": 0.0 },
"16": { "0": 0.2269939584, "1": 0.7730060416, "2": 0.0 },
"17": { "0": 0.2863470819, "1": 0.7136529181, "2": 0.0 },
"18": { "0": 0.3540301731, "1": 0.6459659981, "2": 0.0000038288 },
"19": { "0": 0.4290746918, "1": 0.5708935987, "2": 0.0000317095 },
"20": { "0": 0.5095924913, "1": 0.4903292057, "2": 0.000078303 },
"21": { "0": 0.5927003213, "1": 0.4071615954, "2": 0.0001380833 },
"22": { "0": 0.6746779849, "1": 0.3251164016, "2": 0.0002056135 },
"23": { "0": 0.7514333455, "1": 0.2482910397, "2": 0.0002756149 },
"24": { "0": 0.8192174853, "1": 0.1804393879, "2": 0.0003431268 },
"25": { "0": 0.875377344, "1": 0.1242187716, "2": 0.0004038844 },
"26": { "0": 0.9188519755, "1": 0.0806931319, "2": 0.0004548926 },
"27": { "0": 0.9502096756, "1": 0.0492958216, "2": 0.0004945028 },
"28": { "0": 0.9712444548, "1": 0.0282325552, "2": 0.00052299 },
"29": { "0": 0.9843478389, "1": 0.0151103201, "2": 0.000541841 },
"30": { "0": 0.9919161267, "1": 0.0075306698, "2": 0.0005532035 },
"31": { "0": 0.9959607838, "1": 0.0034798433, "2": 0.0005593729 },
"32": { "0": 0.9979554044, "1": 0.0014823242, "2": 0.0005622714 },
"33": { "0": 0.9988599149, "1": 0.0005766909, "2": 0.0005633941 },
"34": { "0": 0.9992355861, "1": 0.0002007286, "2": 0.0005636853 },
"35": { "0": 0.9993777604, "1": 0.0000584775, "2": 0.0005637622 },
"36": { "0": 0.9994265484, "1": 0.0000096631, "2": 0.0005637886 },
"37": { "0": 0.9994402459, "1": 0.0, "2": 0.0005597541 },
"38": { "0": 0.9994430456, "1": 0.0, "2": 0.0005569544 },
"39": { "0": 0.9994437327, "1": 0.0, "2": 0.0005562673 },
"40": { "0": 0.9994438838, "1": 0.0, "2": 0.0005561162 },
"41": { "0": 0.9994439131, "1": 0.0, "2": 0.0005560869 },
"42": { "0": 0.9994439181, "1": 0.0, "2": 0.0005560819 },
"43": { "0": 0.9994439188, "1": 0.0, "2": 0.0005560812 },
"44": { "0": 0.9994439189, "1": 0.0, "2": 0.0005560811 },
"45": { "0": 0.9994439189, "1": 0.0, "2": 0.0005560811 },
"46": { "0": 0.9994439189, "1": 0.0, "2": 0.0005560811 },
"47": { "0": 0.9994439189, "1": 0.0, "2": 0.0005560811 },
"48": { "0": 0.9994439189, "1": 0.0, "2": 0.0005560811 },
"49": { "0": 0.9994439189, "1": 0.0, "2": 0.0005560811 }
}
{"0":{"0":0.1012347369,"1":0.0761357385,"2":0.8226295245},"1":{"0":0.1010235873,"1":0.0779591956,"2":0.8210172171},"2":{"0":0.0994416662,"1":0.0916204305,"2":0.8089379033},"3":{"0":0.0887636744,"1":0.1838339774,"2":0.7274023482},"4":{"0":0.0474476951,"1":0.5411997046,"2":0.4113526004},"5":{"0":0.0087175609,"1":0.8962651575,"2":0.0950172816},"6":{"0":0.0010510094,"1":0.9857832857,"2":0.0131657049},"7":{"0":0.0037712798,"1":0.9949611562,"2":0.0012675641},"8":{"0":0.0098830598,"1":0.9901169402,"2":0.0},"9":{"0":0.0189903523,"1":0.9810096477,"2":0.0},"10":{"0":0.0316610363,"1":0.9683389637,"2":0.0},"11":{"0":0.0486184937,"1":0.9513815063,"2":0.0},"12":{"0":0.070690848,"1":0.929309152,"2":0.0},"13":{"0":0.0987468127,"1":0.9012531873,"2":0.0},"14":{"0":0.1336502636,"1":0.8663497364,"2":0.0},"15":{"0":0.1761934011,"1":0.8238065989,"2":0.0},"16":{"0":0.2269939584,"1":0.7730060416,"2":0.0},"17":{"0":0.2863470819,"1":0.7136529181,"2":0.0},"18":{"0":0.3540301731,"1":0.6459659981,"2":0.0000038288},"19":{"0":0.4290746918,"1":0.5708935987,"2":0.0000317095},"20":{"0":0.5095924913,"1":0.4903292057,"2":0.000078303},"21":{"0":0.5927003213,"1":0.4071615954,"2":0.0001380833},"22":{"0":0.6746779849,"1":0.3251164016,"2":0.0002056135},"23":{"0":0.7514333455,"1":0.2482910397,"2":0.0002756149},"24":{"0":0.8192174853,"1":0.1804393879,"2":0.0003431268},"25":{"0":0.875377344,"1":0.1242187716,"2":0.0004038844},"26":{"0":0.9188519755,"1":0.0806931319,"2":0.0004548926},"27":{"0":0.9502096756,"1":0.0492958216,"2":0.0004945028},"28":{"0":0.9712444548,"1":0.0282325552,"2":0.00052299},"29":{"0":0.9843478389,"1":0.0151103201,"2":0.000541841},"30":{"0":0.9919161267,"1":0.0075306698,"2":0.0005532035},"31":{"0":0.9959607838,"1":0.0034798433,"2":0.0005593729},"32":{"0":0.9979554044,"1":0.0014823242,"2":0.0005622714},"33":{"0":0.9988599149,"1":0.0005766909,"2":0.0005633941},"34":{"0":0.9992355861,"1":0.0002007286,"2":0.0005636853},"35":{"0":0.9993777604,"1":0.0000584775,"2":0.0005637622},"36":{"0":0.9994265484,"1":0.0000096631,"2":0.0005637886},"37":{"0":0.9994402459,"1":0.0,"2":0.0005597541},"38":{"0":0.9994430456,"1":0.0,"2":0.0005569544},"39":{"0":0.9994437327,"1":0.0,"2":0.0005562673},"40":{"0":0.9994438838,"1":0.0,"2":0.0005561162},"41":{"0":0.9994439131,"1":0.0,"2":0.0005560869},"42":{"0":0.9994439181,"1":0.0,"2":0.0005560819},"43":{"0":0.9994439188,"1":0.0,"2":0.0005560812},"44":{"0":0.9994439189,"1":0.0,"2":0.0005560811},"45":{"0":0.9994439189,"1":0.0,"2":0.0005560811},"46":{"0":0.9994439189,"1":0.0,"2":0.0005560811},"47":{"0":0.9994439189,"1":0.0,"2":0.0005560811},"48":{"0":0.9994439189,"1":0.0,"2":0.0005560811},"49":{"0":0.9994439189,"1":0.0,"2":0.0005560811}}
Loading
Loading