{% from "macros.html" import account_notes %} {# The catch-up's one estimate (design section 24.8), rendered by the server in the reader's language. Each row carries its figures, and the overview's row its own, so the page's script recomputes the totals exactly as `CatchUpEstimate.totals` does while rows are unticked. Repository names and reasons come from the hosting service and git, so they are only ever autoescaped text. #} {% macro amount(tokens, usd) -%} ~{{ tokens|tokens }} {{ _("tokens") }}{% if usd is not none %} · ~{{ usd|dollars }}{% endif %} {%- endmacro %} {% macro attribute(value) -%}{{ "" if value is none else value }}{%- endmacro %}
{{ _("Every repository’s facts are refreshed. Writing the ticked repositories’ guides will call:") }}
| {{ _("Repository") }} | {{ _("Expected") }} | {{ _("At most") }} |
|---|---|---|
| {% if line.first_guide %} {{ _("first guide") }}{% endif %} | {{ amount(line.estimate.expected_tokens, line.estimate.expected_usd) }} | {{ amount(line.estimate.maximum_tokens, line.estimate.maximum_usd) }} |
| {{ _("The team overview, while two ticked repositories may write a digest") }} | {{ amount(estimate.overview.tokens_each, estimate.overview.cost_each_usd) }} | |
{% trans expected=expected_tokens, maximum=maximum_tokens %}Expected: ~{{ expected }} tokens; at most ~{{ maximum }}.{% endtrans %} {% trans expected=expected_usd, maximum=maximum_usd %}At API prices: ~{{ expected }}, at most {{ maximum }}.{% endtrans %} {% trans budget=estimate.budget_usd|dollars %}The catch-up stops starting calls at the team’s budget of {{ budget }}.{% endtrans %}
{% if estimate.failed %}{{ _("These repositories won’t be caught up, since their refresh failed:") }}