Skip to content

Graph detail panels still carry hand-typed figures with no derivation #75

Description

@realmarcin

Found reviewing #73.

The graph's per-Mech detail panels, the extra: strings in the MECHS object in _fleet/fleet_fragment.html, carry figures that are typed in and derived from nothing. #73 makes every number in the stat strip, the cards and the node subtitles substituted at assembly time; these are what is left.

Four were stale and are corrected by hand in #73, which is the point: nothing stops them going stale again.

panel was corrected to
HabitatMech seeded 3,208 3,206
HabitatMech attested by 2+ sources 174 215
TraitMech causal graphs 353 374
MediaIngredientMech mapped 2,684 (91%) 2,622 (89%)
CultureMech normalized 15,877 15,878

These are unverified and undated, and each would need its own derivation:

  • ProteinTraitsMech: 163,526 / 147,071 / 118,281 / 393 / 118
  • AntibioticMech: 2,669 / 240 / 417 / 245 / 16
  • NaturalProductMech: 869 / 655 / 509 / 213 / 362 / 2,744 / 9
  • CommunityMech: 21

The extra strings are prose with numbers woven through them, not a stat line, so the substitution used elsewhere does not fit without rewriting them into a shape that does. Two options: extend the per-Mech table in mech_stats.py with a derivation for each figure and place them with named placeholders, or rewrite the panels so the prose carries no figures and a derived stat line sits beneath it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions