Skip to content

Commit a49a5ac

Browse files
authored
refactor: drop unused report extra arg
1 parent dbd2315 commit a49a5ac

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

mostlyai/qa/assets/html/report_template.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ <h1 id="summary"><span>{{ meta.report_title }}</span>{{ meta.report_subtitle }}<
5353
Generated on {{ report_creation_datetime.strftime("%d %b %Y, %H:%M") }}
5454
&nbsp;&nbsp;●&nbsp;&nbsp;
5555
{{ "{:,d}".format(meta.rows_original) }} original samples, {{ "{:,d}".format(meta.rows_synthetic) }} synthetic samples
56-
{% if meta.report_extra_info %}
57-
&nbsp;&nbsp;●&nbsp;&nbsp;
58-
{{ meta.report_extra_info }}
59-
{% endif %}
6056
</p>
6157
{% if is_model_report %}
6258
<div class="d-flex">

mostlyai/qa/reporting.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ def report(
6868
report_title: str = "Model Report",
6969
report_subtitle: str = "",
7070
report_credits: str = REPORT_CREDITS,
71-
report_extra_info: str = "",
7271
max_sample_size_accuracy: int | None = None,
7372
max_sample_size_embeddings: int | None = None,
7473
statistics_path: str | Path | None = None,
@@ -85,7 +84,7 @@ def report(
8584
8685
If the data represents sequential data, provide the `tgt_context_key` to set the groupby column for the target data.
8786
88-
Customize the report with the `report_title`, `report_subtitle`, `report_credits`, and `report_extra_info`.
87+
Customize the report with the `report_title`, `report_subtitle` and `report_credits`.
8988
9089
Limit the compute time used by setting `max_sample_size_accuracy` and `max_sample_size_embeddings`.
9190
@@ -102,7 +101,6 @@ def report(
102101
report_title: The title of the report.
103102
report_subtitle: The subtitle of the report.
104103
report_credits: The credits of the report.
105-
report_extra_info: The extra information of the report.
106104
max_sample_size_accuracy: The maximum sample size for accuracy calculations.
107105
max_sample_size_embeddings: The maximum sample size for embedding calculations (similarity & distances)
108106
statistics_path: The path of where to store the statistics to be used by `report_from_statistics`
@@ -326,7 +324,6 @@ def report(
326324
"report_title": report_title,
327325
"report_subtitle": report_subtitle,
328326
"report_credits": report_credits,
329-
"report_extra_info": report_extra_info,
330327
}
331328
statistics.store_meta(meta=meta)
332329
_html_report.store_report(

mostlyai/qa/reporting_from_statistics.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def report_from_statistics(
4545
report_title: str = "Data Report",
4646
report_subtitle: str = "",
4747
report_credits: str = REPORT_CREDITS,
48-
report_extra_info: str = "",
4948
max_sample_size_accuracy: int | None = None,
5049
max_sample_size_embeddings: int | None = None,
5150
update_progress: ProgressCallback | None = None,
@@ -63,7 +62,6 @@ def report_from_statistics(
6362
report_title: The title of the report.
6463
report_subtitle: The subtitle of the report.
6564
report_credits: The credits of the report.
66-
report_extra_info: The extra information of the report.
6765
max_sample_size_accuracy: The maximum sample size for accuracy calculations.
6866
max_sample_size_embeddings: The maximum sample size for embedding calculations (similarity & distances)
6967
update_progress: The progress callback.
@@ -155,7 +153,6 @@ def report_from_statistics(
155153
"report_title": report_title,
156154
"report_subtitle": report_subtitle,
157155
"report_credits": report_credits,
158-
"report_extra_info": report_extra_info,
159156
}
160157

161158
# HTML report

0 commit comments

Comments
 (0)