Skip to content

feat: add IQBCache component#18

Merged
bassosimone merged 2 commits intomainfrom
feat/cache
Nov 17, 2025
Merged

feat: add IQBCache component#18
bassosimone merged 2 commits intomainfrom
feat/cache

Conversation

@bassosimone
Copy link
Collaborator

@bassosimone bassosimone commented Nov 17, 2025

This commit implements the IQBCache component for fetching IQB measurement data from local cache files.

Key features:

  1. Git-like .iqb/ directory convention (customizable)

  2. Support for US, DE, BR data (October 2024)

  3. Percentile extraction (1-99) with helpful error messages

  4. Good test coverage (13 tests)

We adopt a convention where .iqb/ is the default cache directory in the current working directory (like .git/), but this can be overridden by passing a custom path.

While there, we address these additional quality improvements:

  1. Add .editorconfig for cross-editor consistency

  2. Add explicit ruff formatting rules (spaces, double quotes, LF)

  3. Add ruff format/lint/pyright checks to CI pipeline

I have some doubts regarding how we're using percentiles. I will address them in a subsequent pull request and then ask for a review, because that matter seems to require discussion, while this pull request is more mechanical.

This commit implements the IQBCache component for fetching IQB
measurement data from local cache files.

Key features:

1. Git-like .iqb/ directory convention (customizable)

2. Support for US, DE, BR data (October 2024)

3. Percentile extraction (1-99) with helpful error messages

4. Good test coverage (13 tests)

We adopt a convention where .iqb/ is the default cache directory
in the current working directory (like .git/), but this can be
overridden by passing a custom path.

While there, we address these additional quality improvements:

1. Add .editorconfig for cross-editor consistency

2. Add explicit ruff formatting rules (spaces, double quotes, LF)

3. Add ruff format/lint/pyright checks to CI pipeline
@bassosimone bassosimone merged commit 8c90b79 into main Nov 17, 2025
4 checks passed
@bassosimone bassosimone deleted the feat/cache branch November 17, 2025 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant