[Autoloop] [Autoloop: build-tsb-pandas-typescript-migration]
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- typescript
- Lĩnh vực
- data
Hướng nghiên cứu
Trước tiên, hãy đọc src/io/read_fwf.ts và tests/io/read_fwf.test.ts, sau đó kiểm tra các export trong src/io/index.ts và src/index.ts. Chạy các test read_fwf và xem xét patch artifact để hiểu tính năng readFwf đã hoàn thiện; hoàn tất có nghĩa là phần triển khai, các test, trang playground và các export đều tồn tại và đều pass.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
🤖 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 <223556219+Copilot@users.noreply.github.com>
---
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)
- Ngôn ngữ chính
- TypeScript
- Star
- 9
- Fork
- 4
- Merge trung bình
- 3 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 15
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của githubnext/tsb
-
automation ci
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
githubnext/tsb#411 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
githubnext/tsb#208 ·
-
[aw] Autoloop failed Đang mởagentic-workflows
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
githubnext/tsb#516 ·
-
[aw] Autoloop failed Đang mởagentic-workflows
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
githubnext/tsb#515 · 3 bình luận ·
-
agentic-workflows
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
githubnext/tsb#514 ·
Tất cả issue của githubnext/tsb
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
[Bug]: Matrix progress drafts fail with "Matrix runtime not initialized" during tool activity Đang mởbug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Client support matrix inclusion Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
calcite-components needs triage refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Esri/calcite-design-system#15203 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
danielmiessler/LifeOS#2218 ·