neulab / ExplainaBoard

Interpretable Evaluation for AI Systems
MIT License
361 stars 36 forks source link

MetricResult.get_value_or_none #538

Closed odashi closed 2 years ago

odashi commented 2 years ago

This introduces following changes:

In most cases get_value was used with unwrap, which increases the complexity of the code. This change mitigates some burden with keeping availability to obtain optional MetricValues.