New issue
Advanced search Search tips

Issue 921691 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Translate Unit system to Python

Project Member Reported by benjhayden@chromium.org, Jan 14

Issue description

The TBMv2 Unit system contains facilities for formatting scalars using scales such as metric and sexagesimal time, and converting values between scale levels. It is currently only implemented in JS. If it were implemented in Python, then it could have prevented #921342. There are also several other backend situations that would benefit from using the same formatting and scaling logic as the frontend, such as dashboard sheriff emails, colab, and soundwave.
https://chromium.googlesource.com/catapult/+/master/tracing/tracing/base/unit.html

 

Sign in to add a comment