githubnext / githubnext/tsikit-learn

[Autoloop: build-tsikit-learn-scikit-learn-typescript-migration]

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
agentic-workflows autoloop automation
Dominant language
TypeScript
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## tsikit-learn: scikit-learn → TypeScript Migration

This PR is maintained by Autoloop. Each accepted iteration adds a commit to this branch.

**Program goal**: Build `tsikit-learn`, a complete TypeScript port of scikit-learn, one feature at a time.

**Program issue**: #5

---

### Iteration 1 — Foundation

**What changed**: Set up the complete project foundation and implemented the first two scikit-learn modules:

- **`sklearn.exceptions`** — `NotFittedError`, `ConvergenceWarning`, `DataConversionWarning`, `DataDimensionalityWarning`, `UndefinedMetricWarning`, `EfficiencyWarning`, `FitFailedWarning`, `InconsistentVersionWarning`
- **`sklearn.base`** — `BaseEstimator` (with `getParams`/`setParams`/`toString`), `ClassifierMixin` (accuracy score), `RegressorMixin` (R2 score), `TransformerMixin` (fitTransform), `ClusterMixin` (fitPredict), `clone()`, `checkIsFitted()`, `checkArray()`, `checkXy()`
- **Project infrastructure**: `package.json`, `tsconfig.json` (strictest settings), `biome.json` (linting), `bunfig.toml` (Bun config), GitHub Actions CI (type check + lint + tests + playground build + Pages deploy)
- **Playground**: Interactive module status dashboard at `/playground/index.html`
- **AGENTS.md**: Agent conventions and autoloop instructions

**Metric**: `sklearn_features_ported = 2` (first baseline)

**Run**: https://github.com/githubnext/tsikit-learn/actions/runs/25718092382

---

🤖 *This PR is maintained by Autoloop. Each accepted iteration adds a commit to this branch.*

> [!WARNING]
>
> Firewall blocked 1 domain
>
> The following domain was blocked by the firewall during workflow execution:
>
> - `releaseassets.githubusercontent.com`
>> To allow these domains, add them to the `network.allowed` list in your workflow frontmatter:
>
> ```yaml
> network:
> allowed:
> - defaults
> - "releaseassets.githubusercontent.com"
> ```
>
> See [Network Configuration](https://github.github.com/gh-aw/reference/network/) for more information.
>
>

> Generated by [Autoloop](https://github.com/githubnext/tsikit-learn/actions/runs/25718092382/agentic_workflow) · ● 22.4M · [◷](https://github.com/search?q=repo%3Agithubnext%2Ftsikit-learn+%22gh-aw-workflow-id%3A+autoloop%22&type=pullrequests)
>
> To install this [agentic workflow](https://github.com/.github/workflows/blob/main/autoloop.md), run
> ```
> gh aw add .github/workflows/autoloop.md
> ```

---

> [!NOTE]
> This was originally intended as a pull request, but the git push operation failed.
>
> **Workflow Run:** [View run details and download bundle artifact](https://github.com/githubnext/tsikit-learn/actions/runs/25718092382)
>
> The bundle file is available in the `agent` artifact in the workflow run linked above.

To create a pull request with the changes:

```sh
# Download the artifact from the workflow run
gh run download 25718092382 -n agent -D /tmp/agent-25718092382

# Fetch the bundle into a local branch
git fetch /tmp/agent-25718092382/aw-autoloop-build-tsikit-learn-scikit-learn-typescript-migration.bundle refs/heads/autoloop/build-tsikit-learn-scikit-learn-typescript-migration:refs/heads/autoloop/build-tsikit-learn-scikit-learn-typescript-migration
git checkout autoloop/build-tsikit-learn-scikit-learn-typescript-migration

# Push the branch to origin
git push origin autoloop/build-tsikit-learn-scikit-learn-typescript-migration

# Create the pull request
gh pr create --title '[Autoloop: build-tsikit-learn-scikit-learn-typescript-migration]' --base main --head autoloop/build-tsikit-learn-scikit-learn-typescript-migration --repo githubnext/tsikit-learn
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.