Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Decide before v1: make EIGS_STRICT the default (argument-type stand-ins like abs of "x" = 0 are silent by default)

オープン
#1,361 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c, shell

調査の方向性

Start with docs/SPEC.md around line 247 and tools/strict_differential.sh to understand the current strict-mode behavior and distinguish real results from stand-ins. Run tools/consumer_acceptance.sh run against the changed binary, then update README, llms.txt, CHANGELOG, and SPEC.md as required. Done means the decision is recorded, the default behavior is documented and tested, and the consumer sweep is green with breaks resolved and linked.

索引モデルが issue の本文から書いたものです。

説明

area:runtime-vm kind:decision

What is true today (measured at 27f8a90)

print of (abs of "x")        # 0
print of (abs of ([-3, 7]))  # 0
print of (floor of [1.5, 2.5])  # 0

All three exit 0. With EIGS_STRICT=1, the first raises abs: expected a number.

This is documented as the default. docs/SPEC.md (around line 247) says argument-type guards substitute a stand-in (0, "", null) unless strict is set. #971 and #975, the fail-soft to loud reform, are closed: they built the strict guards across the whole builtin surface and kept strict opt-in.

Why decide now

  • PRINCIPLES / #975 name silent substitution as the class to remove.
  • #1286 says to settle language decisions before the first outside consumer.
  • A type mistake that becomes a plausible value is exactly the silent-wrong class this project hunts. Today the default is the silent one.
  • The machinery already exists: flipping it is a default change plus a consumer sweep, not new guards.
  • tools/strict_differential.sh already pins which answers are genuine (a real 0) and which are stand-ins.

Recommendation

Make strict the default, with a per-run opt-out (EIGS_STRICT=0, or an eigs.json field if the #1286 edition field lands). Then run the consumer sweep: every pinned consumer's real CI command against the flipped binary, and every break fixed in the consumer. On an owned ecosystem with no back-compat contract, the breaks are the point: each one is a latent type mistake.

Done when

  • Decision recorded here by the owner: flip, or keep opt-in with the reason.
  • If flip: the default is strict. SPEC.md, llms.txt, README and CHANGELOG say so, and abs of "x" raises with no flag set.
  • If flip: tools/consumer_acceptance.sh run against the flipped binary is green, with every consumer break fixed upstream or in the consumer and linked here.
主要言語
C
スター
3
フォーク
7
平均マージ
4時間 1分
マージ済み PR(30日)
121

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

InauguralSystems/EigenScript のほかの issue

InauguralSystems/EigenScript の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。