Skip to content

Commit f395581

Browse files
authored
Merge pull request #9 from T-DAT-902-Homepedia/feat/web-points-sample-250k
feat(duckpipe): densify web points sample to 250k mutations
2 parents 5ae24ea + 2c362fe commit f395581

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

duckpipe/src/duckpipe/publish_web.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,9 @@ def _generate_artifacts(
258258
)
259259

260260
# Échantillon de mutations pour la heatmap (chargé lazy côté front).
261-
export_web.build_points_sample(con, "dvf")
261+
# 250k points : assez dense pour la heatmap MEAN de prix hors métropoles,
262+
# ~3 Mo gzip sur le CDN.
263+
export_web.build_points_sample(con, "dvf", n=250_000)
262264
_copy_json(
263265
con,
264266
"SELECT * FROM web_points_sample",

0 commit comments

Comments
 (0)