Skip to content

Tech report: Dedupe technology records #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 34 commits into from
Feb 14, 2025
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
cf33544
versions
max-ostapenko Jan 12, 2025
547f63e
tech filter
max-ostapenko Jan 12, 2025
e1f0e60
Merge branch 'main' into central-flyingfish
max-ostapenko Jan 14, 2025
3ec247c
Merge branch 'main' into central-flyingfish
max-ostapenko Jan 21, 2025
65acf68
Merge branch 'main' into central-flyingfish
max-ostapenko Jan 26, 2025
e8580d0
new table with versions
max-ostapenko Jan 26, 2025
bfac4f6
typo
max-ostapenko Jan 26, 2025
ac2f597
versions table
max-ostapenko Jan 26, 2025
bdd46b8
fix
max-ostapenko Jan 26, 2025
23864b9
no retries
max-ostapenko Jan 26, 2025
4d42453
tech_report_* tables
max-ostapenko Jan 26, 2025
4dd3f9b
clusters renamed
max-ostapenko Jan 26, 2025
8032aab
lint
max-ostapenko Jan 26, 2025
a41ed32
adjust export config
max-ostapenko Jan 26, 2025
2aec142
fix clustering
max-ostapenko Jan 26, 2025
396d664
origin renamed
max-ostapenko Jan 27, 2025
e9b666e
deduplicated good_cwv
max-ostapenko Jan 27, 2025
ff2f5a4
Merge branch 'main' into central-flyingfish
max-ostapenko Jan 27, 2025
58eea31
include minor
max-ostapenko Jan 30, 2025
747a18f
Merge branch 'main' into main
max-ostapenko Jan 30, 2025
8c0455c
Merge branch 'central-flyingfish' into central-flyingfish
max-ostapenko Jan 30, 2025
c88ef18
fix
max-ostapenko Jan 30, 2025
3268e28
Merge branch 'central-flyingfish' into central-flyingfish
max-ostapenko Jan 30, 2025
bd07f78
cleanup
max-ostapenko Jan 30, 2025
5967524
pattern fix
max-ostapenko Jan 30, 2025
146978d
Merge branch 'central-flyingfish' into central-flyingfish
max-ostapenko Jan 30, 2025
7ff9151
tech detections only
max-ostapenko Jan 31, 2025
718e3c4
fix
max-ostapenko Jan 31, 2025
34a4bb7
relaxed pattern
max-ostapenko Jan 31, 2025
330e918
remove hashing (#59)
max-ostapenko Feb 1, 2025
7ae88fa
dedupe technologies
max-ostapenko Feb 1, 2025
511983d
Merge branch 'main' into premier-chicken
max-ostapenko Feb 1, 2025
c6f8460
cleanup
max-ostapenko Feb 2, 2025
bede83e
Merge branch 'main' into premier-chicken
max-ostapenko Feb 14, 2025
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
Prev Previous commit
Next Next commit
deduplicated good_cwv
  • Loading branch information
max-ostapenko committed Jan 27, 2025
commit e9b666e02aefa5de9cc01c742d9b42d1eb555e28
24 changes: 10 additions & 14 deletions definitions/output/reports/tech_crux.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@ crux AS (
IS_GOOD(small_cls, medium_cls, large_cls) AS good_cls,
IS_NON_ZERO(fast_lcp, avg_lcp, slow_lcp) AS any_lcp,
IS_GOOD(fast_lcp, avg_lcp, slow_lcp) AS good_lcp,

(IS_GOOD(fast_inp, avg_inp, slow_inp) OR fast_inp IS NULL) AND
IS_GOOD(small_cls, medium_cls, large_cls) AND
IS_GOOD(fast_lcp, avg_lcp, slow_lcp) AS good_cwv_2024,

(IS_GOOD(fast_fid, avg_fid, slow_fid) OR fast_fid IS NULL) AND
IS_GOOD(small_cls, medium_cls, large_cls) AND
IS_GOOD(fast_lcp, avg_lcp, slow_lcp) AS good_cwv_2023,
IF('${pastMonth}' < '2024-01-01',
(IS_GOOD(fast_fid, avg_fid, slow_fid) OR fast_fid IS NULL) AND
IS_GOOD(small_cls, medium_cls, large_cls) AND
IS_GOOD(fast_lcp, avg_lcp, slow_lcp),
(IS_GOOD(fast_inp, avg_inp, slow_inp) OR fast_inp IS NULL) AND
IS_GOOD(small_cls, medium_cls, large_cls) AND
IS_GOOD(fast_lcp, avg_lcp, slow_lcp)
) AS good_cwv,

# WV
IS_NON_ZERO(fast_fcp, avg_fcp, slow_fcp) AS any_fcp,
Expand Down Expand Up @@ -267,13 +267,9 @@ SELECT
COUNTIF(any_fcp) AS origins_with_any_fcp,
COUNTIF(any_ttfb) AS origins_with_any_ttfb,
COUNTIF(any_inp) AS origins_with_any_inp,
COUNTIF(good_cwv_2024) AS origins_with_good_cwv,
COUNTIF(good_cwv_2024) AS origins_with_good_cwv_2024,
COUNTIF(good_cwv_2023) AS origins_with_good_cwv_2023,
COUNTIF(good_cwv) AS origins_with_good_cwv,
COUNTIF(any_lcp AND any_cls) AS origins_eligible_for_cwv,
SAFE_DIVIDE(COUNTIF(good_cwv_2024), COUNTIF(any_lcp AND any_cls)) AS pct_eligible_origins_with_good_cwv,
SAFE_DIVIDE(COUNTIF(good_cwv_2024), COUNTIF(any_lcp AND any_cls)) AS pct_eligible_origins_with_good_cwv_2024,
SAFE_DIVIDE(COUNTIF(good_cwv_2023), COUNTIF(any_lcp AND any_cls)) AS pct_eligible_origins_with_good_cwv_2023,
SAFE_DIVIDE(COUNTIF(good_cwv), COUNTIF(any_lcp AND any_cls)) AS pct_eligible_origins_with_good_cwv,

# Lighthouse data
SAFE_CAST(APPROX_QUANTILES(accessibility, 1000)[OFFSET(500)] AS NUMERIC) AS median_lighthouse_score_accessibility,
Expand Down
Loading