[Autoloop] [Autoloop: build-tsb-pandas-typescript-migration]
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Tranquilla
- Stack tecnologico
- typescript
- Ambito
- data
Direzione di ricerca
Leggi prima src/io/read_fwf.ts e tests/io/read_fwf.test.ts, poi esamina gli export in src/io/index.ts e src/index.ts. Esegui i test di read_fwf ed esamina l’artefatto della patch per comprendere la funzionalità readFwf completata; completato significa che l’implementazione, i test, la pagina del playground e gli export sono presenti e superano correttamente i test.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
🤖 This PR is maintained by Autoloop. Each accepted iteration adds a commit to this branch.
Program Goal
Build tsb — a complete TypeScript port of pandas, one feature at a time.
Program Issue: #1
Metric: pandas_features_ported (higher is better) — currently 135 (was 134)
Latest Change (Iteration 283)
Added readFwf — fixed-width format reader (mirrors pandas.read_fwf)
What was added
src/io/read_fwf.ts— full implementation ofreadFwf:- Auto-infers column boundaries from whitespace patterns across sample rows
- Accepts explicit
colspecs([start, end] pairs) orwidths(column widths) - Supports
header,header: null+names,indexCol,dtypeoverrides naValues,skipRows,nRows,inferNrowsoptions- Strict TypeScript — no
any, no escape hatches
tests/io/read_fwf.test.ts— comprehensive test suite (unit + property-based)playground/read_fwf.html— interactive playground page with live demo- Exported from
src/io/index.tsandsrc/index.ts
Metric: 134 → 135 (+1)
[!NOTE]
This was originally intended as a pull request, but the git push operation failed.Workflow Run: View run details and download patch artifact
The patch file is available in the
agentartifact in the workflow run linked above.
To create a pull request with the changes:
# Download the artifact from the workflow run
gh run download 24926859048 -n agent -D /tmp/agent-24926859048
# Create a new branch
git checkout -b autoloop/build-tsb-pandas-typescript-migration
# Apply the patch (--3way handles cross-repo patches where files may already exist)
git am --3way /tmp/agent-24926859048/aw-autoloop-build-tsb-pandas-typescript-migration.patch
# Push the branch to origin
git push origin autoloop/build-tsb-pandas-typescript-migration
# Create the pull request
gh pr create --title '[Autoloop] [Autoloop: build-tsb-pandas-typescript-migration]' --base main --head autoloop/build-tsb-pandas-typescript-migration --repo githubnext/tsessebe
Show patch preview (500 of 1183 lines)
From ef7cc0762d676db154df4e27fb4f15f89bbad7c2 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]" <github-actions[bot]@users.noreply.github.com>
Date: Sat, 25 Apr 2026 08:46:18 +0000
Subject: [PATCH] [Autoloop: build-tsb-pandas-typescript-migration] Iteration
283: add readFwf (fixed-width format reader)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Port pandas.read_fwf — parse fixed-width formatted text into a DataFrame.
Auto-infers column boundaries from whitespace or accepts explicit colspecs/widths.
Supports header, header:null+names, indexCol, dtype overrides, naValues, skipRows, nRows.
Run: https://github.com/githubnext/tsessebe/actions/runs/24926859048
Co-authored-by: Copilot <[email protected]>
---
playground/index.html | 5 +
playground/read_fwf.html | 391 +++++++++++++++++++++++++++++++++
src/index.ts | 2 +
src/io/index.ts | 3 +
src/io/read_fwf.ts | 450 ++++++++++++++++++++++++++++++++++++++
tests/io/read_fwf.test.ts | 252 +++++++++++++++++++++
6 files changed, 1103 insertions(+)
create mode 100644 playground/read_fwf.html
create mode 100644 src/io/read_fwf.ts
create mode 100644 tests/io/read_fwf.test.ts
diff --git a/playground/index.html b/playground/index.html
index 0597f9f..245f3e5 100644
--- a/playground/index.html
+++ b/playground/index.html
@@ -344,6 +344,11 @@
<p>XLSX file reading. readExcel() parses Excel files from a Uint8Array/ArrayBuffer — ZIP+XML parsing from scratch, shared strings, number/string/boolean cells, sheet selection, header, indexCol, skipRows, nrows.</p>
<div class="status done">✅ Complete</div>
</div>
+ <div class="feature-card">
+ <h3><a href="read_fwf.html" style="color: var(--accent); text-decoration: none;">📄 Fixed-Width Format I/O</a></h3>
+ <p>Parse fixed-width formatted text into a DataFrame. readFwf() mirrors pandas.read_fwf — auto-infers or acc
... (truncated)
- Lingua principale
- TypeScript
- Stelle
- 9
- Fork
- 4
- Merge medio
- 1g 16h
- PR unite (30g)
- 14
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di githubnext/tsb
-
automation ci
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
githubnext/tsb#411 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
githubnext/tsb#208 ·
I maintainer di solito rispondono entro 1 giorno
-
[aw] Autoloop failed Apertaagentic-workflows
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
githubnext/tsb#519 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[aw] Autoloop failed Apertaagentic-workflows
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
githubnext/tsb#518 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[aw] Autoloop failed Apertaagentic-workflows
Difficoltà 4/5 3-5 giorni Idoneità per principianti 40/100
githubnext/tsb#517 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di githubnext/tsb
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
diegosouzapw/OmniRoute#14869 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
I maintainer di solito rispondono entro 1 giorno
-
status: waiting triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
freeCodeCamp/freeCodeCamp#70412 ·
I maintainer di solito rispondono entro 1 giorno
-
Mend: dependency security vulnerability untriaged
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
opensearch-project/OpenSearch-Dashboards#12816 ·
I maintainer di solito rispondono entro 1 giorno