Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Delete NotSufficientlySupportedException in v3: an unsupported operation returns null

Aperta
#1,569 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp
Ambito
backend

Direzione di ricerca

Start by tracing the 12 NotSufficientlySupportedException sites on master, including ToSymPy, matrix Serialize/Deserialize, Solve, Domain.Any, and the solver files named in the issue. Check the 15 test references and update Docs/Usage/Exceptions.md, Docs/Contributing/NodeContract.md, and Docs/Usage/Comparison.md. Done means unsupported operations return null in v3 and the tests and documentation no longer describe the deleted exception.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Queued from https://github.com/asc-community/AngouriMath/pull/1559#issuecomment-5882380167: in v3, NotSufficientlySupportedException is deleted and every unsupported operation returns null.

On master (882c1eb9) it is thrown at 12 places and caught at none, and 15 lines of the tests name it:

  • ToSymPy (6): argmax, argmin, the quantifiers, an indexed union or intersection over a set SymPy cannot list, an application of an undeclared lambda, and the nodes SymPy has no counterpart for.
  • Matrix serialisation (2): Serialize and Deserialize, both always.
  • Solve (3): an inequality the statement solver cannot read (Solvers.Definition.cs), a system of equations past its budget (EquationSolver.InSolveSystem), and a piecewise Boolean statement (BooleanAnalyticalSolver).
  • The special set of a domain (1): Domain.Any, or a value from outside the enum.

Docs/Usage/Exceptions.md, Docs/Contributing/NodeContract.md and Docs/Usage/Comparison.md describe it and change with it.

Lingua principale
C#
Stelle
831
Fork
79
Merge medio
2h 22m
PR unite (30g)
507

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ASC-Community/AngouriMath

Tutte le issue di ASC-Community/AngouriMath

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.