Repository navigation
Conversation
Four test references used lowercase `samples/` (and one lowercase `simpl.txt`) while the repository ships `Samples/` + `Simpl.txt`. Windows resolves paths case-insensitively so the suite passed locally; the ubuntu CI runner is case-sensitive and raised DirectoryNotFoundException / FileNotFoundException (run 40948677613). Flip the four references to the canonical on-disk casing. Scope: the four pure case-flip references only. The hardcoded absolute `c:/Automata/samples/...` path in FiniteAutomataTests.cs is a separate defect class (absolute Windows path, not a case slip) and is left to #6/PR#7. Co-Authored-By: Claude-Code <noreply@anthropic.com>
Author
|
Closing as a duplicate of #13. #13 ( #13 stays as the single delivery — it is the one claimed + [DELIVERED] on #12. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contexte
Le run CI ubuntu
40948677613(master) fait échouer 55 tests, dont une classe de casse de chemin : le dépôt embarqueSamples/+Simpl.txt(majuscules) alors que 4 références de test citentsamples//simpl.txt(minuscules). Windows résout les chemins de façon insensible à la casse (la suite passe en local) ; le runner ubuntu est sensible à la casse →DirectoryNotFoundException/FileNotFoundException.Preuves (extrait du run
40948677613) :Correctif
Aligne les 4 références à la casse canonique du disque (
ls Samples/→Simpl.txt,regexes.txt, …) :Automata.Tests/CodeGenTests.cs:16../../../samples/regexes.txt../../../Samples/regexes.txtAutomata.Tests/RexTests.cs:21../../../samples/regexes.txt../../../Samples/regexes.txtAutomata.Tests/StateDistinguisherTests.cs:13../../../samples/regexes.txt../../../Samples/regexes.txtAutomata.Tests/RegexExtensionMethodTests.cs:958Samples/simpl.txtSamples/Simpl.txt4 fichiers, 4 insertions, 4 suppressions — rien d'autre. Les 55 autres références (déjà
Samples/majuscule) sont intactes.Portée — et hors-portée
c:/Automata/samples/...deFiniteAutomataTests.cs:825— classe de défaut distincte (chemin absolu Windows, pas un glissement de casse), laissée à bug(parser): BREX & and ~ operators break literal & / ~ patterns (QuantifyAfterNothing + silent semantic change) #6 / PR fix(parser,#6): BREX '&'/'~' surface operators behind brexSurfaceSyntax opt-in #7.Vérification
CS1504hérité de la base — les modèles T4.ttdu projet coreAutomatapointent vers un chemin d'auteurC:\GitHub\Automata\...inexistant sur ce siège. Sans rapport avec ce correctif (4 retournements de casse de littéraux de chaîne dansAutomata.Tests) : le run ubuntu40948677613a buildé le même master sans ce problème (il est arrivé à la phase de tests).See #12 (livraison partielle : la classe de casse uniquement)
lane
myia-po-2023:CoursIA-2· sous-module CoursIAMyIA.AI.Notebooks/SymbolicAI/SMT/Automata🤖 Generated with Claude Code