Inline and CSV results: raw numbers, float noise, English labels, two-row headers

Đang mở
#478 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
43/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, openapi, react
Lĩnh vực
api, data, data-visualization

Hướng nghiên cứu

Start by comparing the saved CSV output with inline results, as the issue requests, then trace where view formatting, locale labels, headers, and JSON serialization are applied. Check the tool schema for the undocumented total markers and identify the existing file-output behavior to use as the reference. Done means the inline CSV and JSON meet the listed formatting requirements and the schema documents the markers.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:mcp area:server enhancement

Inline results (and CSV output) are raw, not ready to show:

  • a value's format (e.g. currency:eur) is not applied in csv;
  • averages come back like 452.23523364486, totals with float noise like 77430.1500000001 (also seen in the developer docs walkthrough: Grand Total,50850.6999999996);
  • no locale is applied and Grand Total stays English for a German request;
  • with a column field the csv has a two-row header (Region,East,North,… then Product,Sum of Amount,,,), which is hard to turn into a table;
  • the inline json is pretty-printed (about 9 times the csv for the same table) and its total markers (0, 2, presumably 1 for subtotals) are documented nowhere in the tool schema.

A model pastes these straight into a chat answer. I want numbers rounded or formatted the way the view says (at least float noise removed), locale and labels applied as in the file outputs, a flat header option for a single value with columns, compact json inline, and the total markers described. Check first whether the saved csv has the same issues.

Ngôn ngữ chính
JavaScript
Star
1
Fork
1
Merge trung bình
3 giờ 34 phút
Pull request đã merge (30 ngày)
213

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eizedev/pivotkit

Tất cả issue của eizedev/pivotkit

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.