The record is the text of the repair. The Results table is the last run of the row.
BaselineOfPharoAdventOfCode names a package AdventOfCode. The
repository has no package with that name, and its history never had one.KeyNotFound: key 'AdventOfCode'.patches/terryc321-pharo-advent-of-code.patch names four packages
of the repository: Advent-Of-Code-2015 (needs PetitParser2),
Advent-Of-Code-2016, Advent-Of-Code-2020 and AdventCode2025.Advent-Of-Code-2018 needs Bloc. AdventCode and AdventCode2015 have
the same class names as Advent-Of-Code-2015 (60 and 19 class files), so
the three packages cannot be in one image.fixes/terryc321-pharo-advent-of-code.st: 96 of 96 pass on the
two VMs. The causes of the 26 tests, each from the sources:
String>>asSymbolOrInteger is in the package AdventCode, which cannot
load with Advent-Of-Code-2015 (11 tests of AOC2015Day7Test). The
fixes file adds the method as an extension of Advent-Of-Code-2015.AOC2015Day13>>parse: and AOC2015Day15>>split: split a text at
Character lf. The text is a string literal of a method, and the load
gives the literal CR line ends (5 tests). The two methods now use
String>>lines.AOC2015Day8>>repoDir is a directory in the home directory of the
author. The input file is in the repository. The method now asks the
Iceberg repository for its directory.AOC2025Day6>>solution1Part2 and solution2Part2 used the result of
puzzleInputParsed2 in a form that a later change of the author broke.true = false, and a
test that fails on purpose (AOC2016Day1Test>>testFailing01). Each
test now makes the check that its name and its comment describe.AOC2015DayTestTemplate is a template to copy. Its two tests call
notYetImplemented. The class is now abstract, so the test count is 96.AOC2015Day25Test>>testPart1 makes 18 million steps of a Generator.
The test took 7.5 s on our VM and more than the 10 s default time limit
on stock Cog. The test class now has a time limit of 2 minutes.Load the package into a Pharo 14 image (build 791) with the load expression of the test run, file in the fixes file of the row if there is one, and run the test classes of the package.
"row 8" Metacello new baseline: 'PharoAdventOfCode'; repository: 'github://terryc321/Pharo-Advent-Of-Code:main/src'; onConflict: [:e | e useIncoming]; load.
Last result of the package run (stock Cog and iospharo on the same image).
| Row | Label | Load | Stock Cog | iospharo VM |
|---|---|---|---|---|
| 8 | terryc321-pharo-advent-of-code | ok | tests=96 P=96 F=0 E=0 S=0 T=0 X=0 | tests=96 P=96 F=0 E=0 S=0 T=0 X=0 |
The fixes file of this row is not shown here: it has values of the puzzle input and answers of the package author. It is in the iospharo repository, scripts/pkg-jit-test/fixes/.
diff --git a/src/BaselineOfPharoAdventOfCode/BaselineOfPharoAdventOfCode.class.st b/src/BaselineOfPharoAdventOfCode/BaselineOfPharoAdventOfCode.class.st index ba99d81..d53af48 100644 --- a/src/BaselineOfPharoAdventOfCode/BaselineOfPharoAdventOfCode.class.st +++ b/src/BaselineOfPharoAdventOfCode/BaselineOfPharoAdventOfCode.class.st @@ -24,9 +24,8 @@ BaselineOfPharoAdventOfCode >> baseline: spec [ spec for: #common do: [ spec baseline: 'PetitParser2' with: [ spec repository: 'github://kursjan/petitparser2' ]; - package: 'AdventOfCode' with: [ spec requires: #( 'PetitParser2' ) ]] - - - - + package: 'Advent-Of-Code-2015' with: [ spec requires: #( 'PetitParser2' ) ]; + package: 'Advent-Of-Code-2016'; + package: 'Advent-Of-Code-2020'; + package: 'AdventCode2025' ] ]
State of 2026-11-20. Made from the test records of the iospharo project (a second Pharo VM). The fixes are proposals for review.