<commit_before>package ca.bmaupin.test;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;

public class Test extends Activity {
    private static final String TAG = "Test";
    
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        AutofitTextView tv = (AutofitTextView) findViewById(R.id.leftView);
        tv.setTextSize(42f);
//        tv.setTextSize(22.868164f);
        // short word
//        tv.setText("test");
        // long word
//        tv.setText("internationally");
//        tv.setText("test");
        
        // multiple words
//        tv.setText("test some words");
//        tv.setText("supercalafragalisticexpialadocious");
        // multiple long words
//        Log.d(TAG, "tv.getTextSize())" + tv.getTextSize());
        
//        tv.setText("mathematics, appointmentslongword playgrounds,  international");
//        tv.setText("longword mathematics, playgrounds, mathematics");
//        Log.d(TAG, "tv.getTextSize())" + tv.getTextSize());
        
/*        
        tv.setText("test");
        tv.setText("mathematics, appointmentslongword playgrounds,  international");
        tv.setText("test");
        
        tv.setText("test");
        tv.setText("internationally");
        tv.setText("test some words");
        tv.setText("internationally");
        tv.setText("appointments mathematics, playgrounds, mathematics");
        tv.setText("mathematics, appointmentslongword playgrounds,  international");
*/
        tv.setText("Feast of Immolation/sacrifice");
        tv.setText("good-looking");
        tv.setText("immediately (parents, siblings) and extended families; extended families");
    }
    
    /* Inflates the menu */
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        MenuInflater inflater = getMenuInflater();
        inflater.inflate(R.menu.menu, menu);<commit_msg>test cleanup<commit_after>package ca.bmaupin.test;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;

public class Test extends Activity {
    private static final String TAG = "Test";
    
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        
    }
    
    /* Inflates the menu */
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        MenuInflater inflater = getMenuInflater();
        inflater.inflate(R.menu.menu, menu);
{'fraction_non_alphanumeric': 0.1202928870292887, 'fraction_numerical': 0.003486750348675035, 'mean_word_length': 2.760157273918742, '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': '5008411', 'n_tokens_mistral': 814, 'n_tokens_neox': 765, 'n_words': 172}