diff --git a/.gitignore b/.gitignore
index 132dba0..d62c30b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,6 +6,7 @@ examples/research/
.pytest_cache/
colour_mnist.py
flac.py
+.log
# =================== PYCHARM ===================
# idea
diff --git a/README.md b/README.md
index 8933884..805aed4 100644
--- a/README.md
+++ b/README.md
@@ -24,3 +24,16 @@ Learn more in the [documentation](https://fairbench.readthedocs.io/).
[](examples/demos/demo.ipynb)
[](examples/demos/graphs.ipynb)
[](examples/demos/vision.ipynb)
+
+## Citation
+
+```
+@article{krasanakis2024standardizing,
+ title={Towards Standardizing AI Bias Exploration},
+ author={Emmanouil Krasanakis and Symeon Papadopoulos},
+ year={2024},
+ eprint={2405.19022},
+ archivePrefix={arXiv},
+ primaryClass={cs.LG}
+}
+```
\ No newline at end of file
diff --git a/docs/basics/forks.md b/docs/basics/forks.md
index 98cf2e9..7e24918 100644
--- a/docs/basics/forks.md
+++ b/docs/basics/forks.md
@@ -183,7 +183,7 @@ for multiple attributes with the bitwise *and* `&`.
```python
-import fairbench as fbimport fairbench as fb
+import fairbench as fb
sensitive = fb.Fork(fb.categories@["Man", "Woman", "Man", "Nonbin"]
& fb.categories@["Black", "Black", "White", "White"])
print(sensitive)
diff --git a/docs/basics/interactive.md b/docs/basics/interactive.md
index d9a7175..9fea6c6 100644
--- a/docs/basics/interactive.md
+++ b/docs/basics/interactive.md
@@ -91,7 +91,7 @@ import fairbench as fb
reportAlg1 = ... # a report
reportAlg2 = ... # a report
property = ... # a property (e.g., row or column of the report) to focus on
-reports = {"al1": reportAlg1, "alg2": reportAlg2} # with the dict you can also create the reports incrementally
+reports = {"alg1": reportAlg1, "alg2": reportAlg2} # with the dict you can also create the reports incrementally
fb = fb.Fork(reports)
fb.describe(fb[property])
```
@@ -186,7 +186,7 @@ comprehensive during complex intersectional analysis.
```python
import fairbench as fb
-obj = ... # the object to explore (e.g., a report)
+obj = ... # the object to explore (e.g., a report, or fork of reports)
fb.interactive(obj, name="report", horizontal=True)
```
diff --git a/docs/index.md b/docs/index.md
index 12d3a1f..44e2442 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -19,4 +19,18 @@ Visit one of the links below, or read the full documentation.
-
\ No newline at end of file
+
+
+
+## How to cite
+
+```
+@article{krasanakis2024standardizing,
+ title={Towards Standardizing AI Bias Exploration},
+ author={Emmanouil Krasanakis and Symeon Papadopoulos},
+ year={2024},
+ eprint={2405.19022},
+ archivePrefix={arXiv},
+ primaryClass={cs.LG}
+}
+```
\ No newline at end of file
diff --git a/examples/playground/binreport_card.py b/examples/playground/binreport_card.py
new file mode 100644
index 0000000..929a766
--- /dev/null
+++ b/examples/playground/binreport_card.py
@@ -0,0 +1,16 @@
+import fairbench as fb
+import torch
+
+report = fb.multireport(
+ predictions=torch.randint(2, (2,)),
+ labels=torch.randint(2, (2,)),
+ sensetive=fb.Fork(fb.categories @ ["m", "f"]),
+ metrics=[fb.metrics.accuracy, fb.metrics.pr, fb.metrics.fpr, fb.metrics.fnr],
+)
+print(report)
+stamps = fb.combine(
+ fb.stamps.prule(report), fb.stamps.accuracy(report), fb.stamps.four_fifths(report)
+)
+print(fb.stamps.available())
+print(stamps.symbols)
+fb.modelcards.tohtml(stamps, file="model_card.html", show=True)
diff --git a/examples/playground/example.py b/examples/playground/example.py
index 0543ab8..703da69 100644
--- a/examples/playground/example.py
+++ b/examples/playground/example.py
@@ -1,23 +1,12 @@
-import pygrank as pg
import fairbench as fb
-"""load data and set sensitive attribute"""
-_, graph, communities = next(pg.load_datasets_multiple_communities(["highschool"]))
-train, test = pg.split(pg.to_signal(graph, communities[0]), 0.5)
-sensitive_signal = pg.to_signal(graph, communities[1])
-labels = test.filter(exclude=train)
-sensitive = fb.Fork(gender=fb.categories@sensitive_signal.filter(exclude=train))
+# testing heterogeneous setting
+test, y, yhat = fb.demos.adult(predict="probabilities")
+s = fb.Fork(fb.categories @ test[9]) # test[8] is a pandas column with race values
-"""create report for pagerank"""
-algorithm = pg.PageRank(alpha=0.85)
-scores = algorithm(train).filter(exclude=train)
-report = fb.multireport(labels=labels, scores=scores, sensitive=sensitive)
-
-"""create report for locally fair pagerank"""
-fair_algorithm = pg.LFPR(alpha=0.85, redistributor="original")
-fair_scores = fair_algorithm(train, sensitive=sensitive_signal).filter(exclude=train)
-fair_report = fb.multireport(labels=labels, scores=fair_scores, sensitive=sensitive)
-
-"""combine both reports into one and get the auc perspective"""
-fork = fb.Fork(ppr=report, lfpr=fair_report)
-fb.describe(fork.auc)
\ No newline at end of file
+report = fb.multireport(
+ scores=yhat, predictions=(yhat > 0.5), labels=y, sensitive=s, top=50
+)
+# report2 = fb.unireport(predictions=(yhat > 0.5), labels=y, sensitive=s, top=50)
+# report = fb.combine(report, report2)
+# fb.interactive(report)
diff --git a/examples/playground/example_roc.py b/examples/playground/example_roc.py
index 18895ad..eba2ea4 100644
--- a/examples/playground/example_roc.py
+++ b/examples/playground/example_roc.py
@@ -9,4 +9,8 @@
)
# report2 = fb.unireport(predictions=(yhat > 0.5), labels=y, sensitive=s, top=50)
# report = fb.combine(report, report2)
-fb.interactive(report)
+# fb.interactive(report)
+print(report.accuracy.minratio.explain.explain)
+# print(report.auc.maxbarea.explain.explain)
+# fb.visualize(report.auc.maxbarea.explain.explain)
+# fb.visualize(report.avgscore.maxbarea.explain.explain.curve)
diff --git a/examples/playground/fairbench.log b/examples/playground/fairbench.log
new file mode 100644
index 0000000..bb0089f
--- /dev/null
+++ b/examples/playground/fairbench.log
@@ -0,0 +1,3073 @@
+2024-06-03 13:46:23,600 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 68, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 13:46:23,601 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 13, in
+ report = fb.unireport(scores=scores, predictions=preds,labels=labels, sensitive=sensitives) #=> crashes IndexError: index -3 is out of bounds for axis 0 with size 2
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 107, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 110, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, _stopatexplainableerror(v)), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 13, in _stopatexplainableerror
+ _stopatexplainableerror(v)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 10, in _stopatexplainableerror
+ raise value.reraise() # this would stop all invalid computations
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 13:47:00,068 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 68, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 13:47:00,068 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 107, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 110, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, _stopatexplainableerror(v)), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 13, in _stopatexplainableerror
+ _stopatexplainableerror(v)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 10, in _stopatexplainableerror
+ raise value.reraise() # this would stop all invalid computations
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 13:47:11,139 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 29, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\expanders\expanders.py", line 16, in expand
+ return method(values, base, *args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\expanders\expanders.py", line 50, in barea
+ raise ExplainableError("Explanation absent or does not store `curve`")
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 13:47:11,139 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\example_roc.py", line 7, in
+ report = fb.multireport(
+ File "", line 2, in multireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 68, in multireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 69, in
+ framework.reduce(base, **scheme, base=compare_all_to)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 107, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 110, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, _stopatexplainableerror(v)), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 10, in _stopatexplainableerror
+ raise value.reraise() # this would stop all invalid computations
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 13:53:56,490 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 68, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 13:53:56,490 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 13:54:23,262 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 68, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 13:54:23,262 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 13:55:17,868 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 68, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 13:55:17,868 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:01:35,723 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 69, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:01:35,724 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:01:35,725 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in tophr
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 74, in tophr
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 69, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:01:35,726 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:01:35,727 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in toprec
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 101, in toprec
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 69, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:01:35,727 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:01:35,728 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in avghr
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 162, in avghr
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 69, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:01:35,729 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:02:08,128 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 68, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:02:08,129 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:05:56,739 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 68, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:05:56,739 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:12:42,334 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 68, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:12:42,334 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:15:13,459 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 68, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:15:13,460 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:15:39,522 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in tophr
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 65, in tophr
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 68, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:15:39,522 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\example_roc.py", line 7, in
+ report = fb.multireport(
+ File "", line 2, in multireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 68, in multireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 69, in
+ framework.reduce(base, **scheme, base=compare_all_to)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:15:54,700 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 68, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:15:54,701 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:18:18,499 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 69, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:18:18,501 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:18:18,502 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in tophr
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 74, in tophr
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 69, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:18:18,503 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:18:18,504 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in toprec
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 101, in toprec
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 69, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:18:18,504 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:18:18,505 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in avghr
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 162, in avghr
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 69, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:18:18,505 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\venv\lib\site-packages\objwrap\core.py", line 42, in __gt__
+ return self._handler.__wrapcall__(self._obj, "__gt__", other)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\base.py", line 69, in __wrapcall__
+ arg.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:32,603 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:32,603 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:32,604 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in tophr
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 74, in tophr
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:32,604 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:32,605 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in toprec
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 101, in toprec
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:32,606 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:32,607 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in avghr
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 162, in avghr
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:32,608 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:32,617 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 109, in reraise
+ raise self
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:32,618 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 136, in gini
+ mean = _sum(values) / n
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 15, in _sum
+ ret = value + ret
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in __add__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:32,619 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 109, in reraise
+ raise self
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in tophr
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 74, in tophr
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:32,620 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 136, in gini
+ mean = _sum(values) / n
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 15, in _sum
+ ret = value + ret
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in __add__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:32,621 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 109, in reraise
+ raise self
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in toprec
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 101, in toprec
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:32,621 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 136, in gini
+ mean = _sum(values) / n
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 15, in _sum
+ ret = value + ret
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in __add__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:32,622 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 109, in reraise
+ raise self
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in avghr
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 162, in avghr
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:32,623 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 136, in gini
+ mean = _sum(values) / n
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 15, in _sum
+ ret = value + ret
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in __add__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:44,198 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:44,198 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:44,200 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in tophr
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 74, in tophr
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:44,200 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:44,201 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in toprec
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 101, in toprec
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:44,202 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:44,203 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in avghr
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 162, in avghr
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:44,203 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:44,213 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 109, in reraise
+ raise self
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:44,214 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 136, in gini
+ mean = _sum(values) / n
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 15, in _sum
+ ret = value + ret
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in __add__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:44,216 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 109, in reraise
+ raise self
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in tophr
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 74, in tophr
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:44,216 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 136, in gini
+ mean = _sum(values) / n
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 15, in _sum
+ ret = value + ret
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in __add__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:44,217 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 109, in reraise
+ raise self
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in toprec
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 101, in toprec
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:44,218 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 136, in gini
+ mean = _sum(values) / n
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 15, in _sum
+ ret = value + ret
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in __add__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:44,219 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 109, in reraise
+ raise self
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in avghr
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 162, in avghr
+ verify(
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:44,219 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "", line 2, in unireport
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 95, in unireport
+ *[
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\reports\adhoc.py", line 96, in
+ framework.reduce(
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 378, in wrapper
+ ret = _wrapped_method(*args, **kwargs)
+ File "", line 2, in reduce
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 100, in wrapper
+ return _wrapped_method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 108, in reduce
+ {
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 111, in
+ _tryorexplainable(asprimitive, _tryorexplainable(reducer, v), False),
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 136, in gini
+ mean = _sum(values) / n
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 15, in _sum
+ ret = value + ret
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in __add__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 98, in reraise
+ stack_trace = "".join(traceback.format_stack())
+------------------------------------------------------------------------------------------------------------------------
+2024-06-03 14:20:44,223 - root - ERROR - There was an attempt to call computations that encountered an ExplainabeError
+This is the full stack trace of the ExplainableError that includes FairBench internals
+Traceback (most recent call last):
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 136, in gini
+ mean = _sum(values) / n
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 15, in _sum
+ ret = value + ret
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 53, in __add__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 109, in reraise
+ raise self
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\framework.py", line 30, in _tryorexplainable
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\reducers\reducers.py", line 99, in min
+ if value < ret:
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 77, in __lt__
+ self.reraise()
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 109, in reraise
+ raise self
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\compute\delegation.py", line 61, in wrapper
+ _wrapped_method(
+ File "", line 2, in auc
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\fork.py", line 449, in wrapper
+ return method(*args, **kwargs)
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\blocks\metrics\ranking.py", line 52, in auc
+ verify(not math.isnan(value), "Cannot compute AUC when all instances have the same label for branch")
+ File "C:\Users\manio\PycharmProjects\FairBench\fairbench\core\explanation\error.py", line 114, in verify
+ raise ExplainableError(message)
+fairbench.core.explanation.error.ExplainableError: ---
+2024-06-03 14:20:44,223 - root - ERROR - This is the full stack trace of the computations where the ExplainableError was encountered
+Traceback (most recent call last): File "C:\Users\manio\PycharmProjects\FairBench\examples\playground\torch_example.py", line 12, in
+ report = fb.unireport(
+ File "