1. PyTorch-Ignite: test the definition of a metric
Begin with the median lesson. A function can return a plausible middle value for every example in a small test suite and still violate the even-count definition. Predict the answer for an unsorted collection, then test odd and even sizes, repeated values and negative values. The reduction follows the median correction documented in Ignite pull request #2681.
The contribution artifact is a test that distinguishes the statistical definition from a convenient implementation. State the accepted input domain and empty-input policy explicitly. Bugger’s empty-input policy belongs to this teaching exercise; real Ignite behavior also depends on the metric and its framework context.
- Write a regression whose two central values differ.
- Keep ordinary odd-count and duplicate-value controls.
- Explain the definition before proposing an implementation change.
2. sktime: distinguish an endpoint from an outlier
Next, investigate prediction-interval coverage. The sktime repair in pull request #8372 includes observations equal to either interval endpoint. Tiny examples at the lower endpoint, upper endpoint and a zero-width interval distinguish that contract from strict comparisons.
The contribution artifact is a boundary table and a focused metric regression. Preserve uncovered observations and ordinary interior values while repairing equality. A correct boundary test should still explain what happens when no observations are available under the exercise’s stated policy.
- Cover both endpoints independently.
- Test a point interval and an observation just outside it.
- Retain the documented denominator and output rounding.
3. PyTorch-Ignite: follow the callback behind a wrapper
The third lesson investigates removal of filtered event handlers. Ignite pull request #2690 repairs the link between a registered wrapper and the original handler identity. A filtered registration can execute correctly and still survive a removal request when lookup compares the wrong callable.
The contribution artifact is an event trace showing registration, removal and later emission. Distinguish registration tokens, original handlers, filter wrappers and event names. Protect unrelated handlers and other events. The toy implementation omits weak references and framework execution; its explanation names those limits.
- Reproduce removal of a filtered registration.
- Check an unfiltered registration and an unrelated handler as controls.
- Trace the identity used at both registration and removal.
4. sktime: validate the next complete forecast window
Finish with an expanding cutoff splitter. The sktime repair in pull request #7290 accounts for the next step before admitting another forecast window. A current window can be valid while the next cutoff plus its farthest horizon index is outside the series.
The contribution artifact is a list of expected folds for a tiny indexed series. Vary the step, the farthest forecast offset and the exact final boundary. Keep the requested horizon order. The exercise uses explicit integer positions so you can isolate the index contract before dealing with timestamps, estimator fitting or a real dataset.
- Predict every training and test index before running.
- Test a final window that fits exactly and a next window that does not.
- Check a large step and an initial window that cannot fit.
5. Take the investigation into the owning project
PyTorch-Ignite appears in NumFOCUS’s 2026 project ideas. Its contribution guide explains development setup, tests and how to discuss a proposed change. sktime documents its own 2026 GSoC program under the German Center for Open Source AI and provides a contributor route through its project documentation. Use the linked primary program pages as historical context and check the current program before applying.
For each accepted lesson, keep a small reproduction, a failing regression, a cause-to-symptom explanation and the minimal repair. In a real repository, verify the current issue and existing work before starting, reproduce on a supported checkout, and follow the project’s test and review conventions. A historical Bugger repair is practice evidence; an upstream contribution needs its own current problem and maintainer context.
- Run one small upstream example in the project’s supported environment.
- Put the regression in the owning test suite.
- Record focused test results and any unavailable checks.
- Prepare a patch description with the trigger, cause, repair and evidence.
Further reading
Start with primary reports and documentation. Community discussions are discovery leads, not evidence on their own.
- PyTorch-Ignite: median repair #2681 (historical)
- sktime: inclusive coverage repair #8372 (historical)
- PyTorch-Ignite: filtered handler removal #2690 (historical)
- sktime: expanding cutoff repair #7290 (historical)
- NumFOCUS: 2026 project ideas including PyTorch-Ignite
- PyTorch-Ignite: contribution instructions
- sktime: 2026 GSoC program and entry route
- German Center for Open Source AI: official 2026 GSoC profile
- German Center for Open Source AI: 2026 announcement naming sktime
- sktime: contribution instructions