Skip to content

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

@github-actions

Description

@github-actions

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.exceptionsNotFittedError, ConvergenceWarning, DataConversionWarning, DataDimensionalityWarning, UndefinedMetricWarning, EfficiencyWarning, FitFailedWarning, InconsistentVersionWarning
  • sklearn.baseBaseEstimator (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:

network:
  allowed:
    - defaults
    - "releaseassets.githubusercontent.com"

See Network Configuration for more information.

Generated by Autoloop · ● 22.4M ·

To install this agentic workflow, 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

The bundle file is available in the agent artifact in the workflow run linked above.

To create a pull request with the changes:

# 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions