bioguider 0.2.27__py3-none-any.whl → 0.2.28__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of bioguider might be problematic. Click here for more details.
- bioguider/generation/report_loader.py +16 -7
- {bioguider-0.2.27.dist-info → bioguider-0.2.28.dist-info}/METADATA +1 -1
- {bioguider-0.2.27.dist-info → bioguider-0.2.28.dist-info}/RECORD +5 -5
- {bioguider-0.2.27.dist-info → bioguider-0.2.28.dist-info}/LICENSE +0 -0
- {bioguider-0.2.27.dist-info → bioguider-0.2.28.dist-info}/WHEEL +0 -0
|
@@ -123,14 +123,17 @@ class EvaluationReportLoader:
|
|
|
123
123
|
normalized = normalize(raw)
|
|
124
124
|
|
|
125
125
|
# Special handling for stringified evaluation fields
|
|
126
|
-
inst_eval = normalized.get("
|
|
126
|
+
inst_eval = normalized.get("installation")
|
|
127
127
|
if isinstance(inst_eval, str):
|
|
128
128
|
normalized["installation_evaluation"] = {
|
|
129
|
-
"structured_evaluation": self._parse_structured_block(inst_eval, "structured_evaluation"),
|
|
129
|
+
"structured_evaluation": self._parse_structured_block(inst_eval["evaluation"], "structured_evaluation"),
|
|
130
130
|
}
|
|
131
|
+
else:
|
|
132
|
+
normalized["installation_evaluation"] = inst_eval["evaluation"]
|
|
133
|
+
normalized["installation_files"] = inst_eval["files"]
|
|
131
134
|
|
|
132
|
-
readme_eval = normalized.get("
|
|
133
|
-
if isinstance(readme_eval, dict):
|
|
135
|
+
readme_eval = normalized.get("readme")
|
|
136
|
+
if isinstance(readme_eval["evaluations"], dict):
|
|
134
137
|
fixed: Dict[str, Any] = {}
|
|
135
138
|
for fname, val in readme_eval.items():
|
|
136
139
|
if isinstance(val, str):
|
|
@@ -140,10 +143,16 @@ class EvaluationReportLoader:
|
|
|
140
143
|
else:
|
|
141
144
|
fixed[fname] = val
|
|
142
145
|
normalized["readme_evaluation"] = fixed
|
|
146
|
+
normalized["readme_files"] = readme_eval["files"]
|
|
143
147
|
|
|
144
|
-
|
|
145
|
-
if isinstance(
|
|
146
|
-
normalized["
|
|
148
|
+
userguide_eval = normalized.get("userguide")
|
|
149
|
+
if isinstance(userguide_eval["evaluation"], dict):
|
|
150
|
+
normalized["userguide_evaluation"] = userguide_eval["evaluation"]
|
|
151
|
+
normalized["userguide_files"] = userguide_eval["files"]
|
|
152
|
+
|
|
153
|
+
# userguide_eval = normalized.get("userguide")
|
|
154
|
+
# if isinstance(userguide_eval, str):
|
|
155
|
+
# normalized["userguide_evaluation"] = self._parse_structured_block(userguide_eval["evaluation"], "structured_evaluation")
|
|
147
156
|
|
|
148
157
|
report = EvaluationReport(**normalized)
|
|
149
158
|
return report, report_path
|
|
@@ -51,7 +51,7 @@ bioguider/generation/llm_injector.py,sha256=bVxP6Asv2em4MBOB5yFsS14AuaeT7NLKQQMc
|
|
|
51
51
|
bioguider/generation/models.py,sha256=q9sF32Iu5VAa59UbheqPWEZn4bYeGGUVzpW24NJR_SM,2518
|
|
52
52
|
bioguider/generation/output_manager.py,sha256=V0eXYG9iaWxUjU44eLLX5mQcfjOz5tAKa_X0rkTc5Aw,1935
|
|
53
53
|
bioguider/generation/repo_reader.py,sha256=ivTURU61fR8er4ev7gSpOxER3FJv2d9GAx_X5JoVTvQ,1177
|
|
54
|
-
bioguider/generation/report_loader.py,sha256=
|
|
54
|
+
bioguider/generation/report_loader.py,sha256=m6_zcXsm5X6cFUB0ypVo1rjwjQzPAwwg83tc4H0X_eA,5598
|
|
55
55
|
bioguider/generation/style_analyzer.py,sha256=Vn9FAK1qJBNLolLC1tz362k4UBaPl107BlvkQc8pV2I,983
|
|
56
56
|
bioguider/generation/suggestion_extractor.py,sha256=tfkyWtdbAo-maLCF_wqwBXyh93yjulvDY17FuvTnTjk,7611
|
|
57
57
|
bioguider/generation/test_metrics.py,sha256=ACXmSZc2L_UkkmC5h2s4tG44MXW1d-hClFwPCD5_BFI,7505
|
|
@@ -74,7 +74,7 @@ bioguider/utils/pyphen_utils.py,sha256=cdZc3qphkvMDeL5NiZ8Xou13M_uVNP7ifJ-FwxO-0
|
|
|
74
74
|
bioguider/utils/python_file_handler.py,sha256=BERiE2RHxpu3gAzv26jr8ZQetkrtnMZOv9SjpQ7WIdg,2650
|
|
75
75
|
bioguider/utils/r_file_handler.py,sha256=8HpFaYKP8N1nItwr9tOx49m99pcLSt8EUtTNTJ7xNoE,19564
|
|
76
76
|
bioguider/utils/utils.py,sha256=h8OhCjzLpHkb3ndnjRBUOBHD7csbHdEVNXf75SRN8Zc,4413
|
|
77
|
-
bioguider-0.2.
|
|
78
|
-
bioguider-0.2.
|
|
79
|
-
bioguider-0.2.
|
|
80
|
-
bioguider-0.2.
|
|
77
|
+
bioguider-0.2.28.dist-info/LICENSE,sha256=qzkvZcKwwA5DuSuhXMOm2LcO6BdEr4V7jwFZVL2-jL4,1065
|
|
78
|
+
bioguider-0.2.28.dist-info/METADATA,sha256=dprh6Ds8aqSlDhLUp7oeMlFB4rMa_7CP40JBecB4NRA,1962
|
|
79
|
+
bioguider-0.2.28.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
80
|
+
bioguider-0.2.28.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|