anon-iclr-submission/benchname-bug-localization huggingface dataset:
Repository: objectionary/eo
Issue: SpyTrain.java:48-51: we need to implement StLambdaQuiet...

The puzzle `1248-52399106` from #1248 has to be resolved: 

https://github.com/objectionary/eo/blob/4a80878e27a1e6d41b71b4d2ab4949b741a1c51f/eo-maven-plugin/src/main/java/org/eolang/maven/SpyTrain.java#L48-L51

The puzzle was created by rultor on 30-Sep-22. 

Estimate: 30 minutes,  role: DEV. 

If you have any technical questions, don't ask me, submit new tickets instead. The task will be \\"done\\" when the problem is fixed and the text of the puzzle is _removed_ from the source code. Here is more about [PDD](http://www.yegor256.com/2009/03/04/pdd.html) and [about me](http://www.yegor256.com/2017/04/05/pdd-in-action.html). 


Changed files:
eo-maven-plugin/src/main/java/org/eolang/maven/SpyTrain.java

diff --git a/eo-maven-plugin/src/main/java/org/eolang/maven/SpyTrain.java b/eo-maven-plugin/src/main/java/org/eolang/maven/SpyTrain.java
index a394a3d1a..ff6ac08d9 100644
--- a/eo-maven-plugin/src/main/java/org/eolang/maven/SpyTrain.java
+++ b/eo-maven-plugin/src/main/java/org/eolang/maven/SpyTrain.java
@@ -30,7 +30,6 @@ import com.yegor256.xsline.StLambda;
 import com.yegor256.xsline.TrEnvelope;
 import com.yegor256.xsline.TrLambda;
 import com.yegor256.xsline.Train;
-import java.io.IOException;
 import java.nio.file.Path;
 
 /**
@@ -45,10 +44,6 @@ final class SpyTrain extends TrEnvelope {
      *
      * @param train Original one
      * @param dir The dir to save
-     * @todo #1248:30min we need to implement StLambdaQuiet in
-     *  yegor256/xsline. It will be similar to StLambda
-     *  but it will also catch checked exceptions. Then we should
-     *  change code below
      */
     SpyTrain(final Train<Shift> train, final Path dir) {
         super(
@@ -60,16 +55,12 @@ final class SpyTrain extends TrEnvelope {
                         shift::uid,
                         (pos, xml) -> {
                             final String log = shift.uid().replaceAll("[^a-z0-9]", "-");
-                            try {
-                                new Home().save(
-                                    xml.toString(),
-                                    dir.resolve(
-                                        String.format("%02d-%s.xml", pos, log)
-                                    )
-                                );
-                            } catch (final IOException exc) {
-                                throw new IllegalStateException(exc);
-                            }
+                            new Home().save(
+                                xml.toString(),
+                                dir.resolve(
+                                    String.format("%02d-%s.xml", pos, log)
+                                )
+                            );
                             if (Logger.isDebugEnabled(SpyTrain.class)) {
                                 Logger.debug(
                                     SpyTrain.class, "Step #%d by %s:\\n%s",
Repository: objectionary/eo
Issue: Can't dataize integer or float

I think it's necessary to notify users of EO that we can't dataize integer or float like this:
```
[] > app
  5 > @
```
Here is output after `eoc dataize app`:
```
Exception in thread "main" java.lang.ClassCastException: Cannot cast java.lang.Long to java.lang.Boolean
	at java.base/java.lang.Class.cast(Class.java:3605)
	at org.eolang.Dataized.take(Dataized.java:127)
	at org.eolang.Main.run(Main.java:190)
	at org.eolang.Main.main(Main.java:98)
```
Or maybe I do smth wrong?

Changed files:
eo-runtime/src/main/java/org/eolang/Main.java, eo-runtime/src/test/java/org/eolang/MainTest.java

diff --git a/eo-runtime/src/main/java/org/eolang/Main.java b/eo-runtime/src/main/java/org/eolang/Main.java
index b6403ffff..91fc2ec17 100644
--- a/eo-runtime/src/main/java/org/eolang/Main.java
+++ b/eo-runtime/src/main/java/org/eolang/Main.java
@@ -193,11 +193,12 @@ public final class Main {
             phi.attr("Δ").put(new Data.Value<>(arg));
             app.attr(0).put(phi);
         }
-        if (!new Dataized(app).take(Boolean.class)) {
-            throw new IllegalStateException(
-                "Runtime dataization failure"
-            );
-        }
+        Main.LOGGER.info(
+            String.format(
+                "%n---%n%s",
+                new Dataized(app).take().toString()
+            )
+        );
     }
 
     /**
diff --git a/eo-runtime/src/test/java/org/eolang/MainTest.java b/eo-runtime/src/test/java/org/eolang/MainTest.java
index dc74e0698..f555039cd 100644
--- a/eo-runtime/src/test/java/org/eolang/MainTest.java
+++ b/eo-runtime/src/test/java/org/eolang/MainTest.java
@@ -66,8 +66,8 @@ final class MainTest {
     @Test
     void deliversCleanOutput() throws Exception {
         MatcherAssert.assertThat(
-            MainTest.exec("org.eolang.io.stdout", "Hi!"),
-            Matchers.equalTo(String.format("Hi!%s", System.lineSeparator()))
+            MainTest.exec("org.eolang.io.stdout", "Hello!"),
+            Matchers.equalTo(String.format("Hello!%n---%ntrue%n"))
         );
     }
Repository: objectionary/eo
Issue: DcsDepgraph.java:195-197: Close `JsonReader` object in...

The puzzle `1897-5e29a33b` from #1897 has to be resolved: 

https://github.com/objectionary/eo/blob/8e82e617d5de10dc7816327d416acff19269cda0/eo-maven-plugin/src/main/java/org/eolang/maven/dependencies/DcsDepgraph.java#L195-L197

The puzzle was created by Max Petrov on 31-Mar-23. 

Estimate: 30 minutes,  role: DEV. 

If you have any technical questions, don't ask me, submit new tickets instead. The task will be \\"done\\" when the problem is fixed and the text of the puzzle is _removed_ from the source code. Here is more about [PDD](http://www.yegor256.com/2009/03/04/pdd.html) and [about me](http://www.yegor256.com/2017/04/05/pdd-in-action.html). 


Changed files:
eo-maven-plugin/src/main/java/org/eolang/maven/dependencies/DcsDepgraph.java

diff --git a/eo-maven-plugin/src/main/java/org/eolang/maven/dependencies/DcsDepgraph.java b/eo-maven-plugin/src/main/java/org/eolang/maven/dependencies/DcsDepgraph.java
index fa6fbf1c9..cb7ecaf1d 100644
--- a/eo-maven-plugin/src/main/java/org/eolang/maven/dependencies/DcsDepgraph.java
+++ b/eo-maven-plugin/src/main/java/org/eolang/maven/dependencies/DcsDepgraph.java
@@ -202,9 +202,12 @@ public final class DcsDepgraph implements Iterable<Dependency> {
                 final Collection<Dependency> all = new ArrayList<>(0);
                 if (Files.exists(this.file)) {
                     Logger.debug(this, String.format("Dependencies file: %s", this.file));
-                    final JsonReader reader = Json.createReader(Files.newBufferedReader(this.file));
-                    final JsonArray artifacts = reader.readObject()
-                        .getJsonArray("artifacts");
+                    final JsonArray artifacts;
+                    try (JsonReader reader =
+                        Json.createReader(Files.newBufferedReader(this.file))
+                    ) {
+                        artifacts = reader.readObject().getJsonArray("artifacts");
+                    }
                     for (final JsonValue artifact : artifacts) {
                         final JsonObject obj = artifact.asJsonObject();
                         final String group = obj.getString("groupId");
Repository: objectionary/eo
Issue: RedundantParentheses.java:105-113: Refactor regexp in...

The puzzle `1897-b918ace1` from #1897 has to be resolved: 

https://github.com/objectionary/eo/blob/8e82e617d5de10dc7816327d416acff19269cda0/eo-parser/src/main/java/org/eolang/parser/RedundantParentheses.java#L105-L113

The puzzle was created by Max Petrov on 31-Mar-23. 

Estimate: 30 minutes,  role: DEV. 

If you have any technical questions, don't ask me, submit new tickets instead. The task will be \\"done\\" when the problem is fixed and the text of the puzzle is _removed_ from the source code. Here is more about [PDD](http://www.yegor256.com/2009/03/04/pdd.html) and [about me](http://www.yegor256.com/2017/04/05/pdd-in-action.html). 


Changed files:
eo-parser/src/main/java/org/eolang/parser/RedundantParentheses.java

diff --git a/eo-parser/src/main/java/org/eolang/parser/RedundantParentheses.java b/eo-parser/src/main/java/org/eolang/parser/RedundantParentheses.java
index a4d9bb39b..4c83b7029 100644
--- a/eo-parser/src/main/java/org/eolang/parser/RedundantParentheses.java
+++ b/eo-parser/src/main/java/org/eolang/parser/RedundantParentheses.java
@@ -28,6 +28,7 @@ import java.util.ArrayDeque;
 import java.util.Deque;
 import java.util.function.Consumer;
 import java.util.function.Predicate;
+import java.util.regex.Pattern;
 
 /**
  * The class that checks redundant parentheses for object expression.
@@ -36,6 +37,11 @@ import java.util.function.Predicate;
  */
 final class RedundantParentheses implements Predicate<String> {
 
+    /**
+     * Pattern for string literals.
+     */
+    private static final Pattern PATTERN = Pattern.compile("(?ms)\\"\\"\\".*?\\"\\"\\"|\\".*?\\"");
+
     /**
      * The callback that will be called in case if redundant parentheses is found.
      */
@@ -113,9 +119,7 @@ final class RedundantParentheses implements Predicate<String> {
      *  Refactor this repetition that can lead to a stack overflow for large inputs. (line 113)
      */
     private static char[] expressionChars(final String expression) {
-        return expression.replaceAll(
-            "\\"(.|\\\\s)*?\\"|\\"\\"\\"(.|\\\\s)*?\\"\\"\\"",
-            "literal"
-        ).toCharArray();
+        return RedundantParentheses
+            .PATTERN.matcher(expression).replaceAll("literal").toCharArray();
     }
 }
Repository: objectionary/eo
Issue: Ram is not thread safe

Ram is a singleton, if it's being used from two threads, CME will happen.
https://github.com/objectionary/eo/blob/master/eo-runtime/src/main/java/EOorg/EOeolang/Ram.java
https://github.com/objectionary/eo/blob/master/eo-runtime/src/main/eo/org/eolang/ram.eo

Changed files:
eo-runtime/src/main/java/EOorg/EOeolang/Ram.java, eo-runtime/src/test/java/EOorg/EOeolang/RamTest.java

diff --git a/eo-runtime/src/main/java/EOorg/EOeolang/Ram.java b/eo-runtime/src/main/java/EOorg/EOeolang/Ram.java
index c0520bfd7..a22e10ec2 100644
--- a/eo-runtime/src/main/java/EOorg/EOeolang/Ram.java
+++ b/eo-runtime/src/main/java/EOorg/EOeolang/Ram.java
@@ -32,8 +32,8 @@ import java.io.RandomAccessFile;
 import java.io.UncheckedIOException;
 import java.lang.management.ManagementFactory;
 import java.nio.file.Files;
-import java.util.HashMap;
 import java.util.Map;
+import java.util.concurrent.ConcurrentHashMap;
 import org.eolang.Dataized;
 import org.eolang.Phi;
 
@@ -51,7 +51,7 @@ public enum Ram {
     /**
      * Phi to File mapping.
      */
-    private final Map<Phi, RandomAccessFile> addresses = new HashMap<>();
+    private final Map<Phi, RandomAccessFile> addresses = new ConcurrentHashMap<>();
 
     /**
      * Read.
diff --git a/eo-runtime/src/test/java/EOorg/EOeolang/RamTest.java b/eo-runtime/src/test/java/EOorg/EOeolang/RamTest.java
index 6ec564bd4..5886561db 100644
--- a/eo-runtime/src/test/java/EOorg/EOeolang/RamTest.java
+++ b/eo-runtime/src/test/java/EOorg/EOeolang/RamTest.java
@@ -7,6 +7,8 @@ import org.eolang.PhWith;
 import org.eolang.Phi;
 import org.hamcrest.MatcherAssert;
 import org.hamcrest.Matchers;
+import org.junit.jupiter.api.parallel.Execution;
+import org.junit.jupiter.api.parallel.ExecutionMode;
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.CsvSource;
 
@@ -14,6 +16,7 @@ import org.junit.jupiter.params.provider.CsvSource;
  * Test for {@link Ram}.
  * @since 1.0
  */
+@Execution(ExecutionMode.CONCURRENT)
 final class RamTest {
     @ParameterizedTest
     @CsvSource({
Repository: objectionary/eo
Issue: RegisterMojo.java:80-85: Here, the "property" attribute...

The puzzle `636-57a3ebdc` from #636 has to be resolved: 

https://github.com/objectionary/eo/blob/59079f6a983651efc77280ec322a1a011a92b936/eo-maven-plugin/src/main/java/org/eolang/maven/RegisterMojo.java#L80-L85

The puzzle was created by @yegor256 on 16-May-22. 

Estimate: 30 minutes,  role: DEV. 

If you have any technical questions, don't ask me, submit new tickets instead. The task will be \\"done\\" when the problem is fixed and the text of the puzzle is _removed_ from the source code. Here is more about [PDD](http://www.yegor256.com/2009/03/04/pdd.html) and [about me](http://www.yegor256.com/2017/04/05/pdd-in-action.html). 


Changed files:
eo-maven-plugin/src/main/java/org/eolang/maven/RegisterMojo.java

diff --git a/eo-maven-plugin/src/main/java/org/eolang/maven/RegisterMojo.java b/eo-maven-plugin/src/main/java/org/eolang/maven/RegisterMojo.java
index 2b134b31c..4ccbc409b 100644
--- a/eo-maven-plugin/src/main/java/org/eolang/maven/RegisterMojo.java
+++ b/eo-maven-plugin/src/main/java/org/eolang/maven/RegisterMojo.java
@@ -74,16 +74,11 @@ public final class RegisterMojo extends SafeMojo {
 
     /**
      * List of inclusion GLOB filters for finding EO files
-     * in the {@code &lt;includeSources&gt;} directory, which can be
+     * in the {@code <includeSources>} directory, which can be
      * pretty global (or even a root one).
-     *
+     * @implNote {@code property} attribute is omitted for collection
+     * properties since there is no way of passing it via command line.
      * @checkstyle MemberNameCheck (15 lines)
-     * @todo #636:30min Here, the "property" attribute of the @Parameter
-     *  annotation is not set. If we set it, in order to enable configuration
-     *  through command line arguments, the default value won't be set.
-     *  I don't know how to fix this. Let's investigate what is the right
-     *  way according to Maven traditions. If we fix this, let's also
-     *  fix "excludeSources" here and "include/excludeBinaries" in PlaceMojo.
      */
     @Parameter
     private Set<String> includeSources = new SetOf<>("**.eo");