<commit_before>#lang scribble/manual

@(require scribble/eval
          unstable/latent-contract/defthing
          (for-label images/logos
                     racket)
          images/logos)

@(define (author-email) "<EMAIL>")

@title{Logos}
@author{@(author+email "<NAME>" (author-email))}

@defmodule[images/logos]

@(define logos-eval (make-base-eval))
@interaction-eval[#:eval logos-eval (require images/logos images/icons/style)]

@doc-apply[plt-logo]{
Returns the PLT logo, rendered on clear glass and blue metal by the ray tracer that renders icons.

A 256×256 (default-size) rendering is compiled into the @racketmodname[images/logos] module using @racket[compiled-bitmap], meaning that constructing the logo at that size and smaller is cheap.
In fact, constructing the logo at the default size is essentially free:
@interaction[#:eval logos-eval
                    (time (plt-logo))
                    (time (plt-logo 128))
                    (time (plt-logo 257))]
}

@doc-apply[planet-logo]{
Returns an unofficial PLaneT logo. This is used as the PLaneT icon when DrRacket downloads PLaneT packages.

As with the @racket[plt-logo], a default-size rendering is compiled into the @racketmodname[images/logos] module for performance reasons.
@interaction[#:eval logos-eval
                    (time (planet-logo))
                    (planet-logo (default-icon-height))]
}<commit_msg>Removed timing examples (not reliable)<commit_after>#lang scribble/manual

@(require scribble/eval
          unstable/latent-contract/defthing
          (for-label images/logos
                     racket)
          images/logos)

@(define (author-email) "<EMAIL>")

@title{Logos}
@author{@(author+email "<NAME>" (author-email))}

@defmodule[images/logos]

@(define logos-eval (make-base-eval))
@interaction-eval[#:eval logos-eval (require images/logos images/icons/style)]

@doc-apply[plt-logo]{
Returns the PLT logo, rendered on clear glass and blue metal by the ray tracer that renders icons.

@examples[#:eval logos-eval (plt-logo)]

A 256×256 (default-size) rendering is compiled into the @racketmodname[images/logos] module using @racket[compiled-bitmap], meaning that constructing the logo at that size and smaller is cheap.
In fact, constructing the logo at the default size is essentially free because it does not need to be downscaled.
}

@doc-apply[planet-logo]{
Returns an unofficial PLaneT logo. This is used as the PLaneT icon when DrRacket downloads PLaneT packages.

@examples[#:eval logos-eval
                 (planet-logo)
                 (planet-logo (default-icon-height))]

As with the @racket[plt-logo], a default-size rendering is compiled into the @racketmodname[images/logos] module for performance reasons.
}
{'fraction_non_alphanumeric': 0.10684229784120014, 'fraction_numerical': 0.006586169045005488, 'mean_word_length': 3.4967105263157894, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6526123', 'n_tokens_mistral': 866, 'n_tokens_neox': 794, 'n_words': 264}