Skip to content

Commit 011636f

Browse files
zarslbassosimone
andauthored
feat: Update prototype UI with map functionality (#83)
This PR updates the prototype with changes demoed at the Barcelona 2025 workshop: - Adds map functionality - Modifies sunburst design with reusable component Note: This version contains hardcoded values for percentiles as well as configurations for zoom in per country. These will be updated with the next version of the prototype to be dynamically populated. While there, move rather than copying `./cache/v0`, which was unused by the library, so keep the diff ~small. --------- Co-authored-by: Simone Basso <bassosimone@gmail.com>
1 parent 5860630 commit 011636f

File tree

724 files changed

+4542
-2017
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

724 files changed

+4542
-2017
lines changed

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ cython_debug/
182182
.abstra/
183183

184184
# Visual Studio Code
185-
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
185+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
186186
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
187-
# and can be added to the global gitignore or merged into this file. However, if you prefer,
187+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
188188
# you could uncomment the following to ignore the entire vscode folder
189189
# .vscode/
190190

@@ -205,3 +205,6 @@ cython_debug/
205205
marimo/_static/
206206
marimo/_lsp/
207207
__marimo__/
208+
209+
# macOS .DS_Store files
210+
.DS_Store

data/README.md

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,7 @@ This directory contains static reference data used by the IQB prototype.
1010

1111
**Countries**: All available countries
1212

13-
## Data Formats
14-
15-
We maintain two data formats in `./cache/`:
16-
17-
### v0 - JSON Format (Deprecated - Golden Files Only)
18-
19-
**IMPORTANT**: The v0 cache is no longer actively updated. Files in `./cache/v0/` are
20-
kept as golden files for testing and backward compatibility only.
21-
22-
Per-country JSON files with pre-aggregated percentiles:
23-
24-
- **Location**: `./cache/v0/{country}_{year}_{month}.json`
25-
- **Example**: `us_2024_10.json` (~31M download samples, ~24M upload samples)
26-
- **Structure**: Simple JSON with percentiles (p1, p5, p10, p25, p50, p75, p90, p95, p99)
27-
- **Use case**: Golden files for testing, backward compatibility
28-
29-
```json
30-
{
31-
"metrics": {
32-
"download_throughput_mbps": {"p1": 0.38, "p99": 891.82},
33-
"upload_throughput_mbps": {"p1": 0.06, "p99": 813.73},
34-
"latency_ms": {"p1": 0.16, "p99": 254.34},
35-
"packet_loss": {"p1": 0.0, "p99": 0.25}
36-
}
37-
}
38-
```
39-
40-
### v1 - Parquet Format (Current)
13+
## Data Format
4114

4215
Raw query results stored efficiently for flexible analysis:
4316

@@ -47,8 +20,6 @@ Raw query results stored efficiently for flexible analysis:
4720
- `stats.json` - Query metadata (start time, duration, bytes processed/billed, template hash)
4821
- **Use case**: Efficient filtering, large-scale analysis, direct PyArrow/Pandas processing
4922

50-
**Current format**: The [../library](../library) `IQBCache` uses v1 exclusively.
51-
5223
## GitHub Cache Synchronization (Interim Solution)
5324

5425
**IMPORTANT**: This is a throwaway interim solution that will be replaced by GCS.
@@ -158,7 +129,7 @@ saves v1 Parquet cache only (use pandas to inspect results)
158129
## Notes
159130

160131
- **Cache format**: v1 Parquet files (~1-60 MiB) with stats.json for efficient
161-
processing and cost tracking. v0 JSON files are deprecated and kept only as golden files.
132+
processing and cost tracking.
162133

163134
- **Time granularity**: Data is aggregated over the entire
164135
months of October 2024 and October 2025. The analyst decides which

data/cache/v0/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)