<commit_before><?php

require_once __DIR__.'/vendor/autoload.php';

$app = new Silex\Application();

$app->get('/artists', function () use ($app) {
	return 'list of artists';
});

$app->get('/artists/{id}', function ($id) use ($app) {
	return 'get artist';
});

$app->get('/artists/{id}/books', function ($id) use ($app) {
	return 'list of artist\'s books';
});

$app->post('/artists', function () use ($app) {
	return 'create new artist';
});

$app->put('/artists/{id}', function ($id) use ($app) {
	return 'update artist';
});

$app->delete('/artists/{id}', function ($id) use ($app) {
	return 'delete artist';
});

$app->get('/books', function () use ($app) {
	return 'list of books';
});

$app->get('/books/{id}', function ($id) use ($app) {
	return 'get book';
});

$app->post('/books', function () use ($app) {
	return 'create new book';
});

$app->put('/books/{id}', function ($id) use ($app) {
	return 'update book';
});

$app->put('/books/{id}/image', function ($id) use ($app) {
	return 'update book image';
});

$app->delete('/books/{id}', function ($id) use ($app) {
	return 'delete book';
});

$app->run();<commit_msg>remove  param<commit_after><?php

require_once __DIR__.'/vendor/autoload.php';

$app = new Silex\Application();

$app->get('/artists', function () {
	return 'list of artists';
});

$app->get('/artists/{id}', function ($id) {
	return 'get artist';
});

$app->get('/artists/{id}/books', function ($id) {
	return 'list of artist\'s books';
});

$app->post('/artists', function () {
	return 'create new artist';
});

$app->put('/artists/{id}', function ($id) {
	return 'update artist';
});

$app->delete('/artists/{id}', function ($id) {
	return 'delete artist';
});

$app->get('/books', function () {
	return 'list of books';
});

$app->get('/books/{id}', function ($id) {
	return 'get book';
});

$app->post('/books', function () {
	return 'create new book';
});

$app->put('/books/{id}', function ($id) {
	return 'update book';
});

$app->put('/books/{id}/image', function ($id) {
	return 'update book image';
});

$app->delete('/books/{id}', function ($id) {
	return 'delete book';
});

$app['debug'] = true;

$app->run();
{'fraction_non_alphanumeric': 0.2652113330236879, 'fraction_numerical': 0.0, 'mean_word_length': 4.565891472868217, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, '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': '2031421', 'n_tokens_mistral': 759, 'n_tokens_neox': 772, 'n_words': 190}