<commit_before>package rus.stqa.qatest.sandbox;

public class myFirstProgram {

  public static void main(String[] args) {
    String somebody = "world";
    System.out.println("Hello, " + somebody + "!");
    hello("Alena");


    Square s = new Square(5);
    System.out.println("Площадь квадрата = " + s.area());



    Rectangle r = new Rectangle(4, 6);



    System.out.println("Площадь прямоуголника = " + r.area() );


  }

  public static void hello(String somebody) {
    System.out.println("Hello," + somebody +"!");
  }











}
<commit_msg>Алгоритм вычисления длины точек<commit_after>package rus.stqa.qatest.sandbox;

import java.awt.*;

public class myFirstProgram {

  public static void main(String[] args) {
    String somebody = "world";
    System.out.println("Hello, " + somebody + "!");
    hello("Alena");

    Square s = new Square(5);
    System.out.println("Площадь квадрата = " + s.area());

    Rectangle r = new Rectangle(4, 6);

    System.out.println("Площадь прямоуголника = " + r.area() );

    double p1x = 4;
    double p1y = 4;
    double p2x = 9;
    double p2y = 9;
    System.out.println("Координаты точкек p1(" + p1x + ";" + p1y + ") и p2(" + p2x + ";" + p2y + ")");

    double p1 = p2x - p1x;
    double s1 = Math.pow(p1, 2);
    double p2 = p2y - p1y;
    double s2 = Math.pow(p2, 2);
    double sum = s1 +s2;
    double l = Math.sqrt(sum);
    System.out.println("Длинна точек p1(" + p1x + ";" + p1y + ") и p2(" + p2x + ";" + p2y + ") = " + l);





  }

  public static void hello(String somebody) {
    System.out.println("Hello," + somebody +"!");
  }














}

{'fraction_non_alphanumeric': 0.16800494132180357, 'fraction_numerical': 0.02470660901791229, 'mean_word_length': 2.7155963302752295, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3019834', 'n_tokens_mistral': 645, 'n_tokens_neox': 621, 'n_words': 135}