Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions docs/memories/gf_search_transport.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,14 @@ to +4. JFK-LAX states grams on 95 of 95 rows and JFK-LHR on 100 of 101 (VS46
states only the typical). Each direction is its own: the HNL-MIA outbound page
states 4264000 and its pinned return board 1539000, and no page states a pair
total. Google says the estimate is for the passengers searched, and at two
adults every row and leg figure doubles: JFK-LAX on 2026-10-20 at `--adults 2`
against one adult gave 39 of 39 matched rows at exactly 2x (DL747 229000 to
458000, B6 1523 419000 to 838000), every leg ratio 2.0, typical 346000 to
693000, the percent unchanged on 38 of 39. Each Google JSON row fills
`co2_emissions_g`, `co2_emissions_typical_g`, `co2_emissions_delta_pct` and
`emissions_tag`, and each leg `co2_emissions_g`, null where the slot is empty.
adults every row and leg gram figure doubles: JFK-LAX on 2026-10-20 at
`--adults 2` against one adult gave 39 of 39 matched rows at exactly 2x (DL747
229000 to 458000, B6 1523 419000 to 838000), every leg ratio 2.0, typical 346000
to 693000 (2.003x, not an exact double), the percent unchanged on 38 of 39. The
percent and label slots are not grams and do not double. Each Google JSON row
fills `co2_emissions_g`, `co2_emissions_typical_g`, `co2_emissions_delta_pct`
and `emissions_tag`, and each leg `co2_emissions_g`, null where the slot is
empty.
The Google table adds `CO2 kg` (kilograms and the percent; green lower, red
higher) when a shown row has a figure.

Expand Down
10 changes: 8 additions & 2 deletions tests/test_gf_emissions_party_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ def _flat(rel: str) -> str:
def test_co2_memo_states_the_two_adult_measurement() -> None:
memo = _flat("docs/memories/gf_search_transport.md")
assert "only one adult has been measured" not in memo
assert "at two adults every row and leg figure doubles" in memo
assert "39 of 39 matched rows at exactly 2x" in memo
assert "DL747 229000 to 458000" in memo
assert "B6 1523 419000 to 838000" in memo
assert "typical 346000 to 693000" in memo
assert "percent unchanged on 38 of 39" in memo


def test_co2_memo_says_which_figures_double_at_two_adults() -> None:
memo = _flat("docs/memories/gf_search_transport.md")
assert "at two adults every row and leg gram figure doubles" in memo
assert "every leg ratio 2.0" in memo
assert "typical 346000 to 693000 (2.003x, not an exact double)" in memo
assert "The percent and label slots are not grams and do not double" in memo
Loading