Skip to content

Commit 81fda99

Browse files
author
Stefan Jansen
committed
Merge remote-tracking branch 'origin/main' into codex/fix-correctness-73
2 parents 781a78d + 72b5e9b commit 81fda99

44 files changed

Lines changed: 1239 additions & 4480 deletions

Some content is hidden

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

‎.github/ISSUE_TEMPLATE/bug.yml‎

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Bug report
2-
description: Report reproducible incorrect behavior in ecosystem policy or tooling
2+
description: Report reproducible incorrect behavior in ml4t-data
33
title: "[Bug]: "
44
labels:
55
- "type: bug"
@@ -10,22 +10,10 @@ body:
1010
- type: markdown
1111
attributes:
1212
value: |
13-
Search existing issues first. Do not disclose suspected vulnerabilities here.
14-
- type: dropdown
15-
id: library
16-
attributes:
17-
label: Affected library
18-
options:
19-
- data
20-
- engineer
21-
- backtest
22-
- specs
23-
- live
24-
- diagnostic
25-
- models
26-
- ecosystem
27-
validations:
28-
required: true
13+
Search existing issues first. Report one problem per issue and use separate issues for
14+
unrelated problems. Read the
15+
[shared contribution policy](https://github.com/ml4t/ecosystem/blob/main/CONTRIBUTING.md)
16+
before submitting. Do not disclose suspected vulnerabilities here.
2917
- type: input
3018
id: version
3119
attributes:
@@ -37,7 +25,8 @@ body:
3725
id: environment
3826
attributes:
3927
label: Environment
40-
description: Include Python version, operating system, installation method, and relevant extras.
28+
description: >-
29+
Include Python version, operating system, installation method, and relevant extras.
4130
validations:
4231
required: true
4332
- type: textarea
@@ -56,7 +45,17 @@ body:
5645
id: reproduction
5746
attributes:
5847
label: Minimal reproduction
59-
description: Provide the smallest complete example and error output.
48+
description: Provide the smallest complete public API or user workflow and its error output.
49+
validations:
50+
required: true
51+
- type: dropdown
52+
id: numerical
53+
attributes:
54+
label: Numerical impact
55+
options:
56+
- Produces an incorrect numerical result
57+
- Changes a documented definition or convention
58+
- No known numerical impact
6059
validations:
6160
required: true
6261
- type: dropdown

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ contact_links:
33
- name: Security vulnerability
44
url: https://github.com/ml4t/data/security/advisories/new
55
about: Report suspected vulnerabilities privately.
6-
- name: Usage questions
7-
url: https://github.com/orgs/ml4t/discussions
8-
about: Ask questions that do not describe a defect or requested change.
6+
- name: Documentation and usage guidance
7+
url: https://www.ml4trading.io/docs/data/
8+
about: Read the supported workflows and provider guidance before opening an issue.

‎.github/ISSUE_TEMPLATE/documentation.yml‎

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,13 @@ labels:
77
- "status: needs-triage"
88
- "compatibility: none"
99
body:
10-
- type: dropdown
11-
id: library
10+
- type: markdown
1211
attributes:
13-
label: Affected library
14-
options:
15-
- data
16-
- engineer
17-
- backtest
18-
- specs
19-
- live
20-
- diagnostic
21-
- models
22-
- ecosystem
23-
validations:
24-
required: true
12+
value: |
13+
Search existing issues first. Report one documentation problem per issue and separate
14+
unrelated changes. Read the
15+
[shared contribution policy](https://github.com/ml4t/ecosystem/blob/main/CONTRIBUTING.md)
16+
before submitting.
2517
- type: input
2618
id: version
2719
attributes:

‎.github/ISSUE_TEMPLATE/feature.yml‎

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,13 @@ labels:
77
- "status: needs-triage"
88
- "compatibility: affected"
99
body:
10-
- type: dropdown
11-
id: library
10+
- type: markdown
1211
attributes:
13-
label: Owning library
14-
options:
15-
- data
16-
- engineer
17-
- backtest
18-
- specs
19-
- live
20-
- diagnostic
21-
- models
22-
- ecosystem
23-
validations:
24-
required: true
12+
value: |
13+
Search existing issues first. Describe one coherent change per issue and separate unrelated
14+
requests. Discuss the intended behavior here before opening a pull request. Read the
15+
[shared contribution policy](https://github.com/ml4t/ecosystem/blob/main/CONTRIBUTING.md)
16+
before submitting.
2517
- type: input
2618
id: version
2719
attributes:

‎.github/PULL_REQUEST_TEMPLATE.md‎

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,50 @@
1+
Read the [ML4T contribution policy](https://github.com/ml4t/ecosystem/blob/main/CONTRIBUTING.md)
2+
before submitting.
3+
14
## Owning issue
25

36
Closes #
47

8+
The issue and this pull request each describe one problem or coherent change. Separate unrelated
9+
fixes. Automated dependency updates and administrative metadata changes are exempt from the issue
10+
requirement.
11+
512
## Outcome
613

7-
Describe the user-visible or standards outcome.
14+
Describe the problem, expected behavior, and what this change does.
815

9-
## Compatibility
16+
## Compatibility and numerical behavior
1017

1118
- [ ] No public compatibility impact
1219
- [ ] Compatibility impact is documented in the owning issue and migration guidance
20+
- [ ] No numerical result or documented definition changes
21+
- [ ] A numerical defect is reproduced below and corrected by this change
22+
- [ ] An intended definition or convention change was agreed in the owning issue and documented
1323

1424
## Verification
1525

16-
- [ ] Tests reproduce the prior failure or verify the requested behavior
26+
For a bug fix, run the same regression through the affected public API or user workflow on both
27+
revisions:
28+
29+
- Base revision, command, and failing result:
30+
- Pull-request revision, same command, and passing result:
31+
32+
For other changes, state the relevant commands and results.
33+
34+
- [ ] Verification exercises the affected public API or user workflow
1735
- [ ] Ruff lint and format checks pass
1836
- [ ] `ty` passes
19-
- [ ] Test suite passes
20-
- [ ] Package build passes when applicable
21-
- [ ] Strict MkDocs build passes when documentation is affected
37+
- [ ] The applicable test lanes pass
38+
- [ ] The package build passes when applicable
39+
- [ ] Strict MkDocs passes when documentation is affected
2240
- [ ] Ecosystem qualification passes
2341

42+
## AI assistance
43+
44+
State whether AI tools helped produce code or prose and identify the affected parts.
45+
46+
- [ ] I reviewed and tested this submission and can explain its code, prose, and evidence
47+
2448
## Documentation and release
2549

26-
State the documentation, release notes, and patch-release work required after merge.
50+
State the documentation, release-note, and patch-release work required after merge.

‎.github/workflows/ci.yml‎

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
python-version: ${{ env.PYTHON_VERSION }}
3434

3535
- name: Install uv
36-
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
36+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
3737
with:
3838
version: ${{ env.UV_VERSION }}
3939
enable-cache: true
@@ -46,6 +46,31 @@ jobs:
4646
uv run ruff check src/ tests/ scripts/
4747
uv run ruff format --check src/ tests/ scripts/
4848
49+
coverage:
50+
name: Coverage
51+
runs-on: ubuntu-latest
52+
steps:
53+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
54+
with:
55+
persist-credentials: false
56+
57+
- name: Install Python
58+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
59+
with:
60+
python-version: ${{ env.PYTHON_VERSION }}
61+
62+
- name: Install uv
63+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
64+
with:
65+
version: ${{ env.UV_VERSION }}
66+
enable-cache: true
67+
68+
- name: Install the complete locked test environment
69+
run: uv sync --locked --all-extras --all-groups
70+
71+
- name: Enforce package coverage
72+
run: uv run pytest tests/ -q -ra --cov=ml4t.data --cov-report=term-missing
73+
4974
dependency-audit:
5075
name: Dependency Audit
5176
runs-on: ubuntu-latest
@@ -60,7 +85,7 @@ jobs:
6085
python-version: ${{ env.PYTHON_VERSION }}
6186

6287
- name: Install uv
63-
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
88+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
6489
with:
6590
version: ${{ env.UV_VERSION }}
6691
enable-cache: true

‎.github/workflows/compatibility.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
python-version: ${{ matrix.python-version }}
4141

4242
- name: Install uv
43-
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
43+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
4444
with:
4545
version: ${{ env.UV_VERSION }}
4646
enable-cache: true

‎.github/workflows/docs.yml‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
3333
with:
3434
python-version: ${{ env.PYTHON_VERSION }}
35-
- uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
35+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
3636
with:
3737
version: ${{ env.UV_VERSION }}
3838
enable-cache: true
@@ -43,7 +43,9 @@ jobs:
4343
echo "ML4T_DOCS_VERSION=$(uv run python -c 'from ml4t.data import __version__; print(__version__)')" >> "$GITHUB_ENV"
4444
echo "ML4T_DOCS_COMMIT=${GITHUB_SHA}" >> "$GITHUB_ENV"
4545
- name: Build documentation strictly
46-
run: uv run mkdocs build --strict
46+
run: |
47+
uv run python scripts/verify_readme_links.py
48+
uv run mkdocs build --strict
4749
- name: Verify rendered identity
4850
run: >-
4951
uv run python scripts/verify_documentation_identity.py
@@ -52,7 +54,7 @@ jobs:
5254
--expected-version "$ML4T_DOCS_VERSION"
5355
--expected-commit "$ML4T_DOCS_COMMIT"
5456
- name: Upload rendered documentation
55-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
57+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
5658
with:
5759
name: docs-site-${{ github.sha }}
5860
path: site/

‎.github/workflows/provider-contracts.yml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
4444
with:
4545
python-version: ${{ env.PYTHON_VERSION }}
46-
- uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
46+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
4747
with:
4848
version: ${{ env.UV_VERSION }}
4949
- run: uv sync --locked --dev
@@ -75,7 +75,7 @@ jobs:
7575
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
7676
with:
7777
python-version: ${{ env.PYTHON_VERSION }}
78-
- uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
78+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
7979
with:
8080
version: ${{ env.UV_VERSION }}
8181
- run: uv sync --locked --dev
@@ -106,7 +106,7 @@ jobs:
106106
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
107107
with:
108108
python-version: ${{ env.PYTHON_VERSION }}
109-
- uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
109+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
110110
with:
111111
version: ${{ env.UV_VERSION }}
112112
- run: uv sync --locked --dev
@@ -132,7 +132,7 @@ jobs:
132132
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
133133
with:
134134
python-version: ${{ env.PYTHON_VERSION }}
135-
- uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
135+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
136136
with:
137137
version: ${{ env.UV_VERSION }}
138138
- run: uv sync --locked --dev
@@ -158,7 +158,7 @@ jobs:
158158
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
159159
with:
160160
python-version: ${{ env.PYTHON_VERSION }}
161-
- uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
161+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
162162
with:
163163
version: ${{ env.UV_VERSION }}
164164
- run: uv sync --locked --dev
@@ -186,7 +186,7 @@ jobs:
186186
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
187187
with:
188188
python-version: ${{ env.PYTHON_VERSION }}
189-
- uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
189+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
190190
with:
191191
version: ${{ env.UV_VERSION }}
192192
- run: uv sync --locked --dev
@@ -214,7 +214,7 @@ jobs:
214214
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
215215
with:
216216
python-version: ${{ env.PYTHON_VERSION }}
217-
- uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
217+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
218218
with:
219219
version: ${{ env.UV_VERSION }}
220220
- run: uv sync --locked --dev
@@ -240,7 +240,7 @@ jobs:
240240
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
241241
with:
242242
python-version: ${{ env.PYTHON_VERSION }}
243-
- uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
243+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
244244
with:
245245
version: ${{ env.UV_VERSION }}
246246
- run: uv sync --locked --dev
@@ -269,7 +269,7 @@ jobs:
269269
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
270270
with:
271271
python-version: ${{ env.PYTHON_VERSION }}
272-
- uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
272+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
273273
with:
274274
version: ${{ env.UV_VERSION }}
275275
- run: uv sync --locked --dev

‎.github/workflows/python315-canary.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
allow-prereleases: true
3232

3333
- name: Install uv
34-
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
34+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
3535
with:
3636
version: "0.10.9"
3737
enable-cache: true

0 commit comments

Comments
 (0)