<commit_before>
//% color="#FFAB19"
namespace control {

    /**
     * Number dropdown
     */

    /**
      * Get the time field editor
      * @param ms time duration in milliseconds, eg: 500, 1000
      */
    //% blockId=timePicker block="%ms"
    //% blockHidden=true
    //% colorSecondary="#FFFFFF"
    //% ms.fieldEditor="numberdropdown" ms.fieldOptions.decompileLiterals=true
    //% ms.fieldOptions.data='[["100 ms", 100], ["200 ms", 200], ["500 ms", 500], ["1 second", 1000], ["2 seconds", 2000]]'
    export function __timePicker(ms: number): number{
        return ms;
    }
    

    //% block="pause %ms=timePicker"
    export function pause(ms: number) {

    }

    /**
     * Text dropdown
     */

    /**
      * Get the word field editor
      * @param word eg: Hello
      */
    //% blockId=wordPicker block="%word"
    //% blockHidden=true
    //% colorSecondary="#FFFFFF"
    //% word.fieldEditor="numberdropdown" word.fieldOptions.decompileLiterals=true
    //% word.fieldOptions.data='[["Hi", "Hi"], ["How are you?", "How are you?"]]'
    export function __wordPicker(word: string): string {
        return word;
    }
    

    //% block="say %word=wordPicker"
    export function say(word: string) {
<commit_msg>Fix text dropdown sample (#4431)<commit_after>
//% color="#FFAB19"
namespace control {

    /**
     * Number dropdown
     */

    /**
      * Get the time field editor
      * @param ms time duration in milliseconds, eg: 500, 1000
      */
    //% blockId=timePicker block="%ms"
    //% blockHidden=true
    //% colorSecondary="#FFFFFF"
    //% ms.fieldEditor="numberdropdown" ms.fieldOptions.decompileLiterals=true
    //% ms.fieldOptions.data='[["100 ms", 100], ["200 ms", 200], ["500 ms", 500], ["1 second", 1000], ["2 seconds", 2000]]'
    export function __timePicker(ms: number): number{
        return ms;
    }
    

    //% block="pause %ms=timePicker"
    export function pause(ms: number) {

    }

    /**
     * Text dropdown
     */

    /**
      * Get the word field editor
      * @param word eg: Hello
      */
    //% blockId=wordPicker block="%word"
    //% blockHidden=true
    //% colorSecondary="#FFFFFF"
    //% word.fieldEditor="textdropdown" word.fieldOptions.decompileLiterals=true
    //% word.fieldOptions.values='[["Hi"], ["How are you?"]]'
    export function __wordPicker(word: string): string {
        return word;
    }
    

    //% block="say %word=wordPicker"
    export function say(word: string) {

{'fraction_non_alphanumeric': 0.1643173580346355, 'fraction_numerical': 0.031413612565445025, 'mean_word_length': 2.533428165007112, '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': '257197', 'n_tokens_mistral': 853, 'n_tokens_neox': 756, 'n_words': 184}