<commit_before>package com.honu.tmdb.rest;

import retrofit.Callback;
import retrofit.http.GET;
import retrofit.http.Path;
import retrofit.http.Query;

/**
 * Defines selected services from TMDb API
 * <p>
 * Example:  GET /discover/movie?sort_by=popularity.desc?api_key=XXXXXX
 */
public interface MovieService {

    // Top 20 movies sorted by specified criteria
    @GET("/discover/movie")
    void discoverMovies(@Query("sort_by") String sortBy, @Query("api_key") String apiKey, Callback<MovieResponse> cb);

    // Top 20 sorted by popularity
    @GET("/discover/movie?sort_by=popularity.desc")
    void fetchPopularMovies(@Query("api_key") String apiKey, Callback<MovieResponse> cb);

    // Top 20 sorted by rating
    @GET("/discover/movie?sort_by=vote_average.desc")
    void fetchHighestRatedMovies(@Query("api_key") String apiKey, Callback<MovieResponse> cb);

    // Video trailers, clips, etc
    @GET("/movie/{id}/videos")
    void fetchTrailers(@Path("id") int movieId, @Query("api_key") String apiKey, Callback<VideoResponse> cb);

    // Movie reviews
    @GET("/movie/{id}/reviews")
    void fetchReviews(@Path("id") int movieId, @Query("api_key") String apiKey, Callback<ReviewResponse> cb);
}
<commit_msg>Note how to retrieve  trailers and reviews in single call<commit_after>package com.honu.tmdb.rest;

import retrofit.Callback;
import retrofit.http.GET;
import retrofit.http.Path;
import retrofit.http.Query;

/**
 * Defines selected services from TMDb API
 * <p>
 * Example:  GET /discover/movie?sort_by=popularity.desc?api_key=XXXXXX
 */
public interface MovieService {

    // Top 20 movies sorted by specified criteria
    @GET("/discover/movie")
    void discoverMovies(@Query("sort_by") String sortBy, @Query("api_key") String apiKey, Callback<MovieResponse> cb);

    // Top 20 sorted by popularity
    @GET("/discover/movie?sort_by=popularity.desc")
    void fetchPopularMovies(@Query("api_key") String apiKey, Callback<MovieResponse> cb);

    // Top 20 sorted by rating
    @GET("/discover/movie?sort_by=vote_average.desc")
    void fetchHighestRatedMovies(@Query("api_key") String apiKey, Callback<MovieResponse> cb);

    // Video trailers, clips, etc
    @GET("/movie/{id}/videos")
    void fetchTrailers(@Path("id") int movieId, @Query("api_key") String apiKey, Callback<VideoResponse> cb);

    // Movie reviews
    @GET("/movie/{id}/reviews")
    void fetchReviews(@Path("id") int movieId, @Query("api_key") String apiKey, Callback<ReviewResponse> cb);

    // http://api.themoviedb.org/3/movie/{movie_id}?api_key=your_key&append_to_response=trailers,reviews
}

{'fraction_non_alphanumeric': 0.1373076923076923, 'fraction_numerical': 0.005, 'mean_word_length': 4.741721854304636, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '6435567', 'n_tokens_mistral': 888, 'n_tokens_neox': 820, 'n_words': 190}