tldr_eval / test_results_test_same.json
shuyanzh's picture
add metric
8ab7e68
{"question_id": "21", "gold": "ipcrm --shmem-id {{shmem_id}}", "clean_code": "ipcrm --shmem-id {{segment_id}}"}
{"question_id": "22", "gold": "ipcrm --shmem-key {{shmem_key}}", "clean_code": "ipcrm --shmem-key {{key}}"}
{"question_id": "23", "gold": "ipcrm --queue-id {{ipc_queue_id}}", "clean_code": "ipcrm --queue-id {{queue_id}}"}
{"question_id": "24", "gold": "ipcrm --queue-key {{ipc_queue_key}}", "clean_code": "ipcrm --queue-key {{key}}"}
{"question_id": "25", "gold": "ipcrm --semaphore-id {{semaphore_id}}", "clean_code": "ipcrm --semaphore-id {{id}}"}
{"question_id": "26", "gold": "ipcrm --semaphore-key {{semaphore_key}}", "clean_code": "ipcrm --semaphore-key {{key}}"}
{"question_id": "27", "gold": "ipcrm --all", "clean_code": "ipcrm -a"}
{"question_id": "67", "gold": "xdotool search --onlyvisible --name {{firefox}}", "clean_code": "tomb ps"}
{"question_id": "68", "gold": "xdotool click {{3}}", "clean_code": "mupdf right"}
{"question_id": "69", "gold": "xdotool getactivewindow", "clean_code": "xdotool getwindowid"}
{"question_id": "70", "gold": "xdotool windowfocus --sync {{12345}}", "clean_code": "xdotool getwindowfocus --window {{12345}}"}
{"question_id": "71", "gold": "xdotool type --delay {{500}} \"Hello world\"", "clean_code": "aplay -T {{500}} {{path/to/file.wav}}"}
{"question_id": "72", "gold": "xdotool key {{KP_Enter}}", "clean_code": "Ctrl + A, K"}
{"question_id": "86", "gold": "readelf -all {{path/to/binary}}", "clean_code": "readelf {{path/to/file.elf}}"}
{"question_id": "87", "gold": "readelf --headers {{path/to/binary}}", "clean_code": "readelf --headers {{path/to/file.elf}}"}
{"question_id": "88", "gold": "readelf --symbols {{path/to/binary}}", "clean_code": "readelf --symbols --syms {{path/to/file.elf}}"}
{"question_id": "89", "gold": "readelf --file-header {{path/to/binary}}", "clean_code": "readelf --file-header {{path/to/file.elf}}"}
{"question_id": "100", "gold": "uuidd --random", "clean_code": "uuidgen --random"}
{"question_id": "101", "gold": "uuidd --random --uuids {{number_of_uuids}}", "clean_code": "sudo uuidd --uuids {{number_of_uuids}}"}
{"question_id": "102", "gold": "uuidd --time", "clean_code": "uuid"}
{"question_id": "104", "gold": "edit {{filename}}", "clean_code": "compose --action=EDIT {{filename}}"}
{"question_id": "105", "gold": "run-mailcap --action=edit {{filename}}", "clean_code": "cabal {{path/to/file.cabal}}--runmailcap"}
{"question_id": "113", "gold": "manpath", "clean_code": "whereis -l"}
{"question_id": "114", "gold": "manpath --global", "clean_code": "xman -h"}
{"question_id": "193", "gold": "update-rc.d {{mysql}} defaults", "clean_code": "sudo zypper install {{service_name}}"}
{"question_id": "194", "gold": "update-rc.d {{mysql}} enable", "clean_code": "git daemon --enable= {{service_name}}"}
{"question_id": "195", "gold": "update-rc.d {{mysql}} disable", "clean_code": "git daemon --enable= {{service_name}}--disable= {{service_name}}"}
{"question_id": "196", "gold": "update-rc.d -f {{mysql}} remove", "clean_code": "systemctl forget {{service_name}}"}
{"question_id": "197", "gold": "sbatch {{path/to/job.sh}}", "clean_code": "qsub {{job_id}}\" {{script.sh}}\""}
{"question_id": "198", "gold": "sbatch --job-name={{myjob}} {{path/to/job.sh}}", "clean_code": "qsub -N {{job_name}}\" {{script.sh}}\""}
{"question_id": "199", "gold": "sbatch --time={{00:30:00}} {{path/to/job.sh}}", "clean_code": "sbatch --time-limit= {{30}} {{script.slurm}}"}
{"question_id": "200", "gold": "sbatch --nodes={{3}} {{path/to/job.sh}}", "clean_code": "sbatch --job= {{job_number}}--nodes= {{min_nodes,max_nodes}}"}
{"question_id": "236", "gold": "groupadd {{group_name}}", "clean_code": "sudo lvm vgcreate {{group_name}}"}
{"question_id": "237", "gold": "groupadd {{group_name}} -g {{group_id}}", "clean_code": "addgroup --gid {{group_id}}"}
{"question_id": "253", "gold": "ctr containers list", "clean_code": "lxc list"}
{"question_id": "254", "gold": "ctr images list", "clean_code": "feh --list"}
{"question_id": "255", "gold": "ctr images pull {{image}}", "clean_code": "ctr pull {{image}}"}
{"question_id": "256", "gold": "ctr images tag {{souce_image}}:{{source_tag}} {{target_image}}:{{target_tag}}", "clean_code": "exif --tag= {{XResolution}}--no-fixup {{image.jpg}}"}
{"question_id": "257", "gold": "login {{user}}", "clean_code": "gource login --user {{username}}"}
{"question_id": "258", "gold": "login -f {{user}}", "clean_code": "sshd --no-login"}
{"question_id": "259", "gold": "login -p {{user}}", "clean_code": "sudo --user= {{user}}--preserve-env= {{true}}"}
{"question_id": "260", "gold": "login -h {{host}} {{user}}", "clean_code": "rvm login {{remote_host}}"}
{"question_id": "319", "gold": "inxi", "clean_code": "inxi -S -t {{cpu_name}}-t {{memory_name}}-t {{hard_drive}}-K"}
{"question_id": "320", "gold": "inxi -Fz", "clean_code": "virsh node description"}
{"question_id": "321", "gold": "inxi -r", "clean_code": "git annex"}
{"question_id": "339", "gold": "vmware-checkvm", "clean_code": "salt '*.vmware'"}
{"question_id": "340", "gold": "vmware-checkvm -h", "clean_code": "dstat --vmware {{vmware}}"}
{"question_id": "411", "gold": "sudo a2ensite {{virtual_host}}", "clean_code": "virt-install {{host}}"}
{"question_id": "412", "gold": "sudo a2ensite --quiet {{virtual_host}}", "clean_code": "sudo a2enconf --quiet {{configuration_file}}"}
{"question_id": "431", "gold": "srun --pty /bin/bash", "clean_code": "qsub -I {{job_number}}"}
{"question_id": "432", "gold": "srun --ntasks-per-node={{num_cores}} --mem-per-cpu={{memory_MB}} --pty /bin/bash", "clean_code": "qsub -I {{job_number}}-D {{attribute_name}}\" {{command_to_submit}}\""}
{"question_id": "433", "gold": "srun --jobid={{job_id}} --pty /bin/bash", "clean_code": "calibre-server --worker-count {{number_of_workers}}--job-id {{job_id}}"}
{"question_id": "456", "gold": "hwclock", "clean_code": "sudo hwclock"}
{"question_id": "457", "gold": "hwclock --systohc", "clean_code": "avrdude -w"}
{"question_id": "458", "gold": "hwclock --hctosys", "clean_code": "sudo hwclock"}
{"question_id": "513", "gold": "smbclient {{//server/share}}", "clean_code": "rpcclient --user {{username}}%PASSWORD {{ip}}"}
{"question_id": "514", "gold": "smbclient {{//server/share}} --user {{username}}", "clean_code": "mosquitto_sub -u {{username}}"}
{"question_id": "515", "gold": "smbclient {{//server/share}} --workgroup {{domain}} --user {{username}}", "clean_code": "rpcclient --workgroup= {{workgroup}}"}
{"question_id": "516", "gold": "smbclient {{//server/share}} --user {{username%password}}", "clean_code": "mongo --username {{username}}--password {{password}} {{database}}"}
{"question_id": "517", "gold": "smbclient {{//server/share}} --directory {{path/to/directory}} --command \"get {{file.txt}}\"", "clean_code": "aria2c {{url_1}} {{url_2}}"}
{"question_id": "518", "gold": "smbclient {{//server/share}} --directory {{path/to/directory}} --command \"put {{file.txt}}\"", "clean_code": "asciinema upload {{path/to/file}}.cast"}
{"question_id": "536", "gold": "xeyes", "clean_code": "xeyes"}
{"question_id": "537", "gold": "xeyes -display {{remote_host}}:{{0}}.{{0}}", "clean_code": "xeyes -display : {{display_number}}-screen : {{screen_number}}"}
{"question_id": "603", "gold": "trash {{path/to/file}}", "clean_code": "ranger delete {{path/to/file}}"}
{"question_id": "604", "gold": "trash-list", "clean_code": "trash-list"}
{"question_id": "605", "gold": "trash-restore", "clean_code": "trash-restore {{path/to/file}}"}
{"question_id": "606", "gold": "trash-empty", "clean_code": "trash-cli --empty"}
{"question_id": "607", "gold": "trash-empty {{10}}", "clean_code": "trash-empty --keep-files {{path/to/file_or_directory}}"}
{"question_id": "608", "gold": "trash-rm foo", "clean_code": "ranger delete {{foo}}"}
{"question_id": "609", "gold": "trash-rm {{/absolute/path/to/file_or_directory}}", "clean_code": "sudo pacman --remove --original {{path/to/file.pkg.tar.zst}}"}
{"question_id": "620", "gold": "scrot", "clean_code": "flameshot gui --raw"}
{"question_id": "621", "gold": "scrot {{capture.png}}", "clean_code": "flameshot gui --format {{png}}"}
{"question_id": "622", "gold": "scrot --select", "clean_code": "scrot"}
{"question_id": "623", "gold": "scrot --focused", "clean_code": "scrot --focused"}
{"question_id": "624", "gold": "scrot --count --delay {{10}}", "clean_code": "scrot --count {{10}} {{path/to/file.png}}"}
{"question_id": "648", "gold": "lspci", "clean_code": "lsscsi --brief"}
{"question_id": "649", "gold": "lspci -v", "clean_code": "ctr --label {{foo=bar}}"}
{"question_id": "650", "gold": "lspci -k", "clean_code": "lspci -k"}
{"question_id": "651", "gold": "lspci -s {{00:18.3}}", "clean_code": "ethtool {{eth0}}"}
{"question_id": "652", "gold": "lspci -vm", "clean_code": "readelf --dump=info"}
{"question_id": "722", "gold": "resolveip {{example.org}}", "clean_code": "openconnect --resolve= {{hostname}}: {{ip_address}}"}
{"question_id": "723", "gold": "resolveip {{1.1.1.1}}", "clean_code": "openconnect --resolve= {{ip_address}}: {{hostname}}"}
{"question_id": "724", "gold": "resolveip --silent {{example.org}}", "clean_code": "tcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcp"}
{"question_id": "797", "gold": "fallocate --length {{700M}} {{path/to/file}}", "clean_code": "sudo btrfs filesystem reserve --mbytes {{700M}} {{path/to/file}}"}
{"question_id": "798", "gold": "fallocate --collapse-range --length {{200M}} {{path/to/file}}", "clean_code": "sudo btrfs filesystem shrink --mbytes {{200M}} {{path/to/btrfs_mount}}"}
{"question_id": "799", "gold": "fallocate --collapse-range --offset {{100M}} --length {{20M}} {{path/to/file}}", "clean_code": "zstd --split= {{20}}M {{100}} {{path/to/file}}"}
{"question_id": "809", "gold": "chattr +i {{path/to/file_or_directory}}", "clean_code": "chattr -u {{path/to/file_or_directory}}"}
{"question_id": "810", "gold": "chattr -i {{path/to/file_or_directory}}", "clean_code": "ocamlc -m {{path/to/file_or_directory}}"}
{"question_id": "811", "gold": "chattr -R +i {{path/to/directory}}", "clean_code": "chattr -R {{path/to/directory}}"}
{"question_id": "876", "gold": "e2fsck {{/dev/sdXN}}", "clean_code": "sudo btrfs filesystem df {{path/to/btrfs_filesystem}}"}
{"question_id": "877", "gold": "e2fsck -p {{/dev/sdXN}}", "clean_code": "sudo btrfs scrub {{path/to/btrfs_filesystem}}"}
{"question_id": "878", "gold": "e2fsck -c {{/dev/sdXN}}", "clean_code": "sudo btrfs check --readonly {{path/to/btrfs_filesystem}}"}
{"question_id": "912", "gold": "virt-manager", "clean_code": "anbox launch --package= {{org.anbox.appmgr}}--component= {{org.anbox.appmgr.AppViewActivity}}"}
{"question_id": "913", "gold": "virt-manager --connect {{hypervisor_uri}}", "clean_code": "virt-install --host {{vm_name}}"}
{"question_id": "914", "gold": "virt-manager --no-fork", "clean_code": "asterisk -f -n"}
{"question_id": "915", "gold": "virt-manager --debug", "clean_code": "fish --debug-output= {{path/to/file}}"}
{"question_id": "916", "gold": "virt-manager --show-domain-creator", "clean_code": "thunderbird"}
{"question_id": "917", "gold": "virt-manager --show-domain-editor {{name|id|uuid}}", "clean_code": "virt-manager --show-domain-summary {{domain_name}}"}
{"question_id": "918", "gold": "virt-manager --show-domain-performance {{name|id|uuid}}", "clean_code": "virt-manager --show-domain-performance {{name|id|uuid}}"}
{"question_id": "919", "gold": "virt-manager --show-host-summary", "clean_code": "virt-manager --show-host-summary"}
{"question_id": "950", "gold": "ip route {{show|list}}", "clean_code": "sudo nft list"}
{"question_id": "951", "gold": "sudo ip route add default via {{gateway_ip}}", "clean_code": "sudo route add -net {{ip_address}}netmask {{netmask_address}}dev {{gw_address}}"}
{"question_id": "952", "gold": "sudo ip route add default dev {{eth0}}", "clean_code": "sudo route add -net {{ip_address}}netmask {{netmask_address}}dev {{eth0}}"}
{"question_id": "953", "gold": "sudo ip route add {{destination_ip}} via {{gateway_ip}} dev {{eth0}}", "clean_code": "sudo route add -net {{ip_address}}netmask {{netmask_address}}gw {{gw_address}}"}
{"question_id": "954", "gold": "sudo ip route del {{destination_ip}} dev {{eth0}}", "clean_code": "sudo route del {{ip_address}}netmask {{netmask_address}}dev {{gw_address}}"}
{"question_id": "955", "gold": "sudo ip route {{change|replace}} {{destination_ip}} via {{gateway_ip}} dev {{eth0}}", "clean_code": "sudo ip route {{change|replace}} {{ip_route_name}}"}
{"question_id": "956", "gold": "ip route get {{destination_ip}}", "clean_code": "route -n {{ip_address}}"}
{"question_id": "1002", "gold": "bmon -a", "clean_code": "ifdown --list"}
{"question_id": "1003", "gold": "bmon -b", "clean_code": "sudo iftop -B"}
{"question_id": "1004", "gold": "bmon -p {{interface_1,interface_2,interface_3}}", "clean_code": "bmon -p {{interface_name}}"}
{"question_id": "1005", "gold": "bmon -R {{2.0}}", "clean_code": "bmon --rate-interval= {{seconds}}"}
{"question_id": "1158", "gold": "git switch {{target_branch}}", "clean_code": "legit switch {{branch}}"}
{"question_id": "1159", "gold": "git sync", "clean_code": "git rebase"}
{"question_id": "1160", "gold": "git publish {{branch_name}}", "clean_code": "git clone --branch {{branch_name}}"}
{"question_id": "1161", "gold": "git unpublish {{branch_name}}", "clean_code": "git fetch {{remote_name}} {{branch_name}}"}
{"question_id": "1162", "gold": "git branches {{glob_pattern}}", "clean_code": "git show-branch --all"}
{"question_id": "1163", "gold": "git undo {{--hard}}", "clean_code": "cvs remove"}
{"question_id": "1214", "gold": "iwctl", "clean_code": "rclone --dedupe-mode {{remote_name}}"}
{"question_id": "1215", "gold": "iwctl --help", "clean_code": "flowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflowflow"}
{"question_id": "1216", "gold": "iwctl station list", "clean_code": "nmcli device wifi"}
{"question_id": "1217", "gold": "iwctl station {{station}} scan", "clean_code": "iwctl {{station_name}}scan"}
{"question_id": "1218", "gold": "iwctl station {{station}} get-networks", "clean_code": "iwctl get-networks {{station_name}}"}
{"question_id": "1219", "gold": "iwctl station {{station}} connect {{network_name}}", "clean_code": "iwctl {{iwctl}}connect {{station_name}}"}
{"question_id": "1291", "gold": "adduser {{username}}", "clean_code": "pass"}
{"question_id": "1292", "gold": "adduser --no-create-home {{username}}", "clean_code": "adduser --no-create-home {{username}}"}
{"question_id": "1293", "gold": "adduser --home {{path/to/home}} {{username}}", "clean_code": "sudo homectl create {{username}}-d {{path/to/home_directory}}"}
{"question_id": "1294", "gold": "adduser --shell {{path/to/shell}} {{username}}", "clean_code": "adduser --shell {{SHELL}}"}
{"question_id": "1295", "gold": "adduser --ingroup {{group}} {{username}}", "clean_code": "git init --group {{group}}"}
{"question_id": "1296", "gold": "adduser {{username}} {{group}}", "clean_code": "adduser {{username}}--group {{group}}"}
{"question_id": "1381", "gold": "seq 3 | datamash max 1 min 1 mean 1 median 1", "clean_code": "datamash {{number_1}} {{number_2}}"}
{"question_id": "1382", "gold": "echo -e '1.0\\n2.5\\n3.1\\n4.3\\n5.6\\n5.7' | tr '.' ',' | datamash mean 1", "clean_code": "mlr stats1 -f \"%.2f\\n\" {{path/to/file.lr}}"}
{"question_id": "1383", "gold": "echo -e '1\\n2\\n3\\n4\\n5\\n5' | datamash -R {{number_of_decimals_wanted}} mean 1", "clean_code": "tcpdump --data= {{path/to/file.csv}}--time-stamp-precision= {{precision}}"}
{"question_id": "1384", "gold": "echo -e '1\\n2\\nNa\\n3\\nNaN' | datamash --narm mean 1", "clean_code": "datamash --narm {{column_1}} {{column_2}}"}
{"question_id": "1427", "gold": "winetricks", "clean_code": "winetricks"}
{"question_id": "1428", "gold": "WINEPREFIX={{path/to/wine_directory}} winetricks", "clean_code": "winetricks -d {{path/to/directory}}"}
{"question_id": "1429", "gold": "winetricks {{package}}", "clean_code": "wine install {{path/to/program.exe}}"}
{"question_id": "1530", "gold": "vgs", "clean_code": "sudo lvs"}
{"question_id": "1531", "gold": "vgs -a", "clean_code": "sudo lvs"}
{"question_id": "1532", "gold": "vgs -v", "clean_code": "nmcli connection show {{default_display}}"}
{"question_id": "1533", "gold": "vgs -o {{field_name_1}},{{field_name_2}}", "clean_code": "xprop -display {{field_name_1}}, {{field_name_2}}"}
{"question_id": "1534", "gold": "vgs -o +{{field_name}}", "clean_code": "ogr2ogr -append -fieldmap {{2,4}} {{path/to/source.shp}} {{path/to/target.shp}}"}
{"question_id": "1535", "gold": "vgs --noheadings", "clean_code": "rg --heading {{pattern}}"}
{"question_id": "1536", "gold": "vgs --separator =", "clean_code": "sudo vgdisplay --separator {{special_character}}"}
{"question_id": "1582", "gold": "amixer -D pulse sset Master {{10%+}}", "clean_code": "[ +10% ]"}
{"question_id": "1583", "gold": "amixer -D pulse sset Master {{10%-}}", "clean_code": "0%"}
{"question_id": "1597", "gold": "pi", "clean_code": "pi --digits {{100}}"}
{"question_id": "1598", "gold": "pi {{number}}", "clean_code": "pi --digits= {{number}}"}
{"question_id": "1599", "gold": "pi --help", "clean_code": "mediainfo --Help"}
{"question_id": "1600", "gold": "pi --version", "clean_code": "mediainfo --Version"}
{"question_id": "1601", "gold": "pi --bibliography", "clean_code": "nvidia-smi"}
{"question_id": "1608", "gold": "rolldice d{{20}}", "clean_code": "rolldice {{20}}"}
{"question_id": "1609", "gold": "rolldice {{2}}d{{6}}s{{1}}", "clean_code": "rolldice \" {{3d6*5+1s2}}\""}
{"question_id": "1610", "gold": "rolldice {{2}}d{{20}}{{+5}}", "clean_code": "rolldice {{dice_string}} {{dice_string}}{+#d20}}"}
{"question_id": "1611", "gold": "rolldice {{2}}xd{{20}}", "clean_code": "rolldice {{20d20}}"}
{"question_id": "1673", "gold": "wodim --devices", "clean_code": "wodim -opt"}
{"question_id": "1674", "gold": "wodim dev=/dev/{{optical_drive}} -audio {{track*.cdaudio}}", "clean_code": "wodim burn {{path/to/file.cd}}"}
{"question_id": "1675", "gold": "wodim -eject dev=/dev/{{optical_drive}} -data {{file.iso}}", "clean_code": "wodim -eject {{path/to/file}}"}
{"question_id": "1676", "gold": "wodim -tao dev=/dev/{{optical_drive}} -data {{file.iso}}", "clean_code": "wodim -write {{path/to/file}}"}
{"question_id": "1717", "gold": "F12", "clean_code": "guake --toggle-visibility"}
{"question_id": "1718", "gold": "F11", "clean_code": "sxiv f"}
{"question_id": "1719", "gold": "Ctrl+Shift+T", "clean_code": "xpdf newTab"}
{"question_id": "1720", "gold": "Super+X", "clean_code": "sudo --close"}
{"question_id": "1721", "gold": "Ctrl+PageUp", "clean_code": "xpdf prevTab"}
{"question_id": "1722", "gold": "Shift+Ctrl+L", "clean_code": "search {{search_text}}"}
{"question_id": "1795", "gold": "zgrep {{pattern}} {{path/to/compressed/file}}", "clean_code": "zgrep --ignore-case \" {{search_pattern}}\" {{path/to/file.zsh}}"}
{"question_id": "1796", "gold": "zgrep -i {{pattern}} {{path/to/compressed/file}}", "clean_code": "zgrep --ignore-case \" {{search_pattern}}\" {{path/to/file.zsh}}"}
{"question_id": "1797", "gold": "zgrep -c {{pattern}} {{path/to/compressed/file}}", "clean_code": "rg --count \" {{search_pattern}}\" {{path/to/file.txt.gz}}"}
{"question_id": "1798", "gold": "zgrep -v {{pattern}} {{path/to/compressed/file}}", "clean_code": "git grep -I {{search_pattern}}"}
{"question_id": "1799", "gold": "zgrep -e \"{{pattern_1}}\" -e \"{{pattern_2}}\" {{path/to/compressed/file}}", "clean_code": "ag --search-zip {{path/to/file.txt.gz}} {{patterns}}"}
{"question_id": "1800", "gold": "zgrep -E {{regular_expression}} {{path/to/file}}", "clean_code": "fswatch --extended {{path/to/directory}}| xargs -n 1 {{bash_command}}"}
{"question_id": "1801", "gold": "zgrep -{{C|B|A}} {{3}} {{pattern}} {{path/to/compressed/file}}", "clean_code": "find {{find}} {{b|efore|a}}"}
{"question_id": "1820", "gold": "ip address", "clean_code": "snap interfaces"}
{"question_id": "1821", "gold": "ip -brief address", "clean_code": "tcpdump --list-interfaces"}
{"question_id": "1822", "gold": "ip -brief link", "clean_code": "tcpdump --list-interfaces"}
{"question_id": "1823", "gold": "ip route", "clean_code": "sudo nft list"}
{"question_id": "1824", "gold": "ip neighbour", "clean_code": "arp-scan -n"}
{"question_id": "1825", "gold": "ip link set {{interface}} up/down", "clean_code": "wg-quick {{up|down}}"}
{"question_id": "1826", "gold": "ip addr add/del {{ip}}/{{mask}} dev {{interface}}", "clean_code": "sudo nft add {{ip_address}}delete {{interface}}"}
{"question_id": "1827", "gold": "ip route add default via {{ip}} dev {{interface}}", "clean_code": "sudo route add {{netmask}}dev {{gw_address}}"}
{"question_id": "1830", "gold": "debsecan", "clean_code": "debsecan whitelists"}
{"question_id": "1831", "gold": "debsecan --suite {{release_code_name}}", "clean_code": "debsecan --suite {{suite}}"}
{"question_id": "1832", "gold": "debsecan --suite {{release_code_name}} --only-fixed", "clean_code": "debsecan --only-fixed"}
{"question_id": "1833", "gold": "debsecan --suite {{sid}} --only-fixed --format {{report}} --mailto {{root}} --update-history", "clean_code": "debsecan --only-fixed"}
{"question_id": "1834", "gold": "sudo apt upgrade $(debsecan --only-fixed --format {{packages}})", "clean_code": "sudo zypper upgrade"}
{"question_id": "1838", "gold": "wpa_cli scan", "clean_code": "nmap"}
{"question_id": "1839", "gold": "wpa_cli scan_results", "clean_code": "binwalk --results {{path/to/binary}}"}
{"question_id": "1840", "gold": "wpa_cli add_network {{number}}", "clean_code": "ipset add {{ip_address}} {{network_name}}"}
{"question_id": "1841", "gold": "wpa_cli set_network {{number}} ssid \"{{SSID}}\"", "clean_code": "wpa_cli set {{network_id}} {{SSID}}"}
{"question_id": "1842", "gold": "wpa_cli enable_network {{number}}", "clean_code": "sudo mmcli bck -e {{modem}}"}
{"question_id": "1843", "gold": "wpa_cli save_config", "clean_code": "virsh save-config {{path/to/file.xml}}"}
{"question_id": "1930", "gold": "ctrlaltdel", "clean_code": "sudo hdparm -g"}
{"question_id": "1931", "gold": "sudo ctrlaltdel hard", "clean_code": "ctrlaltdel hard"}
{"question_id": "1932", "gold": "sudo ctrlaltdel soft", "clean_code": "ctrlaltdel hard {{process_id}}"}
{"question_id": "2022", "gold": "journalctl -b", "clean_code": "blender -b"}
{"question_id": "2023", "gold": "journalctl -b -1", "clean_code": "blender -b"}
{"question_id": "2024", "gold": "journalctl -b --priority={{3}}", "clean_code": "journalctl --priority= {{3}}--boot"}
{"question_id": "2025", "gold": "journalctl -f", "clean_code": "journalctl --follow"}
{"question_id": "2026", "gold": "journalctl -u {{unit}}", "clean_code": "tcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcpflowtcp"}
{"question_id": "2027", "gold": "journalctl --since {{now|today|yesterday|tomorrow}} --until {{YYYY-MM-DD HH:MM:SS}}", "clean_code": "git rev-list {{HEAD}}--max-age= {{1970-01-01}}--min-age= {{30:00}}"}
{"question_id": "2028", "gold": "journalctl _PID={{pid}}", "clean_code": "sudo mmcli.bck --help-process {{PID}}"}
{"question_id": "2029", "gold": "journalctl {{path/to/executable}}", "clean_code": "mkinitcpio --quiet {{path/to/executable}}"}
{"question_id": "2030", "gold": "ncat -l {{port}} > {{path/to/file}}", "clean_code": "socat {{port}}: {{path/to/file}}"}
{"question_id": "2031", "gold": "ncat -lk {{port}}", "clean_code": "http prompt -keepalive {{host}}: {{path/to/url_list}}"}
{"question_id": "2032", "gold": "ncat {{address}} {{port}} < {{path/to/file}}", "clean_code": "qemu -h {{host}}: {{port}}-o {{filename}}"}
{"question_id": "2098", "gold": "reboot", "clean_code": "poweroff --reboot"}
{"question_id": "2099", "gold": "reboot --poweroff", "clean_code": "poweroff"}
{"question_id": "2100", "gold": "reboot --halt", "clean_code": "poweroff --halt"}
{"question_id": "2101", "gold": "reboot --force --force", "clean_code": "poweroff --force --force"}
{"question_id": "2102", "gold": "reboot --wtmp-only", "clean_code": "poweroff --wtmp-only"}
{"question_id": "2103", "gold": "sacct", "clean_code": "squeue --print {{job_id}}--print {{job_name}}--partition {{partition_id}}--state {{idle}}--exit-codes"}
{"question_id": "2104", "gold": "sacct --brief", "clean_code": "sacct --jobs= {{job_id}}, {{job_state}}, {{job_exit_code}}"}
{"question_id": "2105", "gold": "sacct --jobs {{job_id}} --allocations", "clean_code": "srun job {{job_number}}"}
{"question_id": "2106", "gold": "sacct --jobs {{job_id}} --format={{elapsed}},{{jobname}},{{reqcpus}},{{reqmem}}", "clean_code": "sacct --job= {{job_or_step}}"}
{"question_id": "2117", "gold": "losetup -a", "clean_code": "nvidia-smi --list-info"}
{"question_id": "2118", "gold": "sudo losetup /dev/{{loop}} /{{path/to/file}}", "clean_code": "xinput.bck -p {{loop_device_name}} {{path/to/file}}"}
{"question_id": "2119", "gold": "sudo losetup --show --partscan -f /{{path/to/file}}", "clean_code": "virsh attach-device {{bridge_name}} {{path/to/file}}"}
{"question_id": "2120", "gold": "sudo losetup --read-only /dev/{{loop}} /{{path/to/file}}", "clean_code": "cryptsetup --readonly {{path/to/cipher_dir}} {{path/to/file}}"}
{"question_id": "2121", "gold": "sudo losetup -D", "clean_code": "losetup --detach-all"}
{"question_id": "2122", "gold": "sudo losetup -d /dev/{{loop}}", "clean_code": "losetup --detach {{path/to/loop_device}}"}
{"question_id": "2195", "gold": "light", "clean_code": "xbacklight -get {{percent}}"}
{"question_id": "2196", "gold": "light -S {{50}}", "clean_code": "xbacklight -set {{50}}"}
{"question_id": "2197", "gold": "light -U {{20}}", "clean_code": "xbacklight -set {{20}}-get {{percent}}"}
{"question_id": "2198", "gold": "light -A {{20}}", "clean_code": "xbacklight -set {{20}}-inc {{20}}"}
{"question_id": "2285", "gold": "needrestart", "clean_code": "sphinx build --list"}
{"question_id": "2286", "gold": "sudo needrestart", "clean_code": "sv -v"}
{"question_id": "2287", "gold": "needrestart -{{v|q}}", "clean_code": "srun -v {{job_id}}"}
{"question_id": "2288", "gold": "needrestart -k", "clean_code": "rtorrent - {{k}}"}
{"question_id": "2289", "gold": "needrestart -w", "clean_code": "mkinitcpio --upgrade"}
{"question_id": "2290", "gold": "needrestart -b", "clean_code": "sphinx-build -b"}
{"question_id": "2291", "gold": "needrestart -c {{path/to/config}}", "clean_code": "youtube-dl --filter ' {{https://www.youtube.com/watch?v=Mwa0_nE9H7A}}'"}
{"question_id": "2292", "gold": "needrestart --help", "clean_code": "mediainfo --Help"}
{"question_id": "2371", "gold": "rename {{'s/foo/bar/'}} {{*}}", "clean_code": "git log {{foo}} {{bar}}"}
{"question_id": "2372", "gold": "rename -n {{'s/foo/bar/'}} {{*}}", "clean_code": "qcp -noconfirm {{path/to/file_or_directory}}"}
{"question_id": "2373", "gold": "rename -f {{'s/foo/bar/'}} {{*}}", "clean_code": "rename -f {{'s/foo/bar/'}} {{*}}"}
{"question_id": "2374", "gold": "rename 'y/A-Z/a-z/' {{*}}", "clean_code": "mount lower {{path/to/file_or_directory}}"}
{"question_id": "2375", "gold": "rename 's/\\s+/_/g' {{*}}", "clean_code": "calibredb --replace-whitespace {{path/to/file}}"}
{"question_id": "2480", "gold": "sudo htpdate {{host}}", "clean_code": "rar -ah {{compressed.rar}}"}
{"question_id": "2481", "gold": "htpdate -q {{host}}", "clean_code": "sudo apt-get --no-act"}
{"question_id": "2482", "gold": "sudo htpdate -x {{host}}", "clean_code": "sudo htpdate -x"}
{"question_id": "2483", "gold": "sudo htpdate -s {{host}}", "clean_code": "sudo htpdate -s {{path/to/file}}"}
{"question_id": "2526", "gold": "ufw enable", "clean_code": "sudo ufw enable"}
{"question_id": "2527", "gold": "ufw disable", "clean_code": "sudo ufw disable"}
{"question_id": "2528", "gold": "ufw status numbered", "clean_code": "sudo ufw status"}
{"question_id": "2529", "gold": "ufw allow {{5432}} comment \"{{Service}}\"", "clean_code": "sudo ufw allow {{ip_address}}port {{5432}}comment {{comment}}"}
{"question_id": "2530", "gold": "ufw allow proto {{tcp}} from {{192.168.0.4}} to {{any}} port {{22}}", "clean_code": "ufw allow tcp {{192.168.0.1}}proto {{tcp}}"}
{"question_id": "2531", "gold": "ufw deny {{80}}", "clean_code": "sudo ufw deny {{80}}/tcp {{192.168.0.1}}"}
{"question_id": "2532", "gold": "ufw deny proto {{udp}} from {{any}} to {{any}} port {{22}}", "clean_code": "ufw insert {{3}} {{192.168.0.1}}"}
{"question_id": "2533", "gold": "ufw delete {{rule_number}}", "clean_code": "sudo ufw delete {{rule_number}}"}
{"question_id": "2583", "gold": "viewnior {{path/to/image.ext}}", "clean_code": "gource {{image.jpg}}"}
{"question_id": "2584", "gold": "viewnior --fullscreen {{path/to/image.ext}}", "clean_code": "zathura F11"}
{"question_id": "2585", "gold": "viewnior --slideshow {{path/to/image.ext}}", "clean_code": "feh --slideshow-delay 0 {{path/to/images}}"}
{"question_id": "2586", "gold": "scancel {{job_id}}", "clean_code": "scancel {{job_id}}"}
{"question_id": "2587", "gold": "scancel {{user_name}}", "clean_code": "scancel --user= {{username}}"}
{"question_id": "2713", "gold": "locate {{pattern}}", "clean_code": "git maintenance start {{pattern}}"}
{"question_id": "2714", "gold": "locate */{{filename}}", "clean_code": "duplicity {{exact_filename}}"}
{"question_id": "2715", "gold": "sudo updatedb", "clean_code": "calibredb recompute"}
{"question_id": "2792", "gold": "snmpwalk -v1 -c {{community}} {{ip}}", "clean_code": "sudo openvpn --remote {{snmp1}}--community {{community_string}}"}
{"question_id": "2793", "gold": "snmpwalk -v2c -c {{community}} {{ip}}:{{port}} {{oid}}", "clean_code": "snmpwalk {{host}}: {{port}}"}
{"question_id": "2794", "gold": "snmpwalk -v3 -l {{authNoPriv}} -u {{username}} -a {{MD5|SHA}} -A {{passphrase}} {{ip}} {{oid}}", "clean_code": "sudo openvpn --remote {{remote_host}}--snmp-version {{3.0.1}}--dev {{tun1}}--ifconfig {{10.4.0.1}}"}
{"question_id": "2795", "gold": "snmpwalk -v3 -l {{authPriv}} -u {{username}} -a {{MD5|SHA}} -A {{auth_passphrase}} -x {{DES|AES}} -X {{enc_passphrase}} {{ip}} {{oid}}", "clean_code": "sudo openvpn --remote {{remote_host}}--snmp {{snmp}}--authentication --encryption"}
{"question_id": "2796", "gold": "snmpwalk -v3 -l {{noAuthNoPriv}} -u {{username}} {{ip}} {{oid}}", "clean_code": "sudo openvpn --remote {{remote_host}}--snmp {{3.0.1}}"}
{"question_id": "2842", "gold": "po4a {{path/to/config_file}}", "clean_code": "po4a --update {{path/to/config.json}}"}
{"question_id": "2847", "gold": "xdg-mime query filetype {{path/to/file}}", "clean_code": "next show {{filename}}"}
{"question_id": "2848", "gold": "xdg-mime query default {{image/png}}", "clean_code": "pngcheck"}
{"question_id": "2849", "gold": "xdg-mime query default $(xdg-mime query filetype {{path/to/file}})", "clean_code": "xdg-mime default {{filename}}"}
{"question_id": "2850", "gold": "xdg-mime default {{imv.desktop}} {{image/png}} {{image/jpeg}}", "clean_code": "pdfimages -png -tiff -j -jp2 -jbig2 -ccitt -imv {{path/to/file.pdf}}"}
{"question_id": "2891", "gold": "sreport --parsable cluster utilization", "clean_code": "sreport cluster AccountUtilizationByUser {{username}} {{cluster_name}}"}
{"question_id": "2892", "gold": "sreport job sizes printjobcount", "clean_code": "sacctmgr showjobs"}
{"question_id": "2893", "gold": "sreport user topuser", "clean_code": "dstat --top-cputime"}
{"question_id": "2912", "gold": "check-support-status", "clean_code": "check-support-status --limited"}
{"question_id": "2913", "gold": "check-support-status --type {{ended}}", "clean_code": "check-support-status"}
{"question_id": "2914", "gold": "check-support-status --no-heading", "clean_code": "check-support-status --no-heading"}
{"question_id": "2949", "gold": "playerctl play-pause", "clean_code": "t"}
{"question_id": "2950", "gold": "playerctl next", "clean_code": "playerctl next"}
{"question_id": "2951", "gold": "playerctl previous", "clean_code": "playerctl previous"}
{"question_id": "2952", "gold": "playerctl --list-all", "clean_code": "playerctl --list-all"}
{"question_id": "2953", "gold": "playerctl --player={{player_name}} {{command}}", "clean_code": "mpv {{player_name}} {{command}}"}
{"question_id": "2954", "gold": "playerctl --all-players {{command}}", "clean_code": "playerctl --all-players {{command}}"}
{"question_id": "2955", "gold": "playerctl metadata --format \"Now playing: {{artist}} - {{album}} - {{title}}\"", "clean_code": "ncmpcpp"}
{"question_id": "3017", "gold": "upower --dump", "clean_code": "sudo tlp-stat -b"}
{"question_id": "3018", "gold": "upower --enumerate", "clean_code": "nvidia-smi"}
{"question_id": "3019", "gold": "upower --monitor", "clean_code": "etcdctl watch {{my/key}}"}
{"question_id": "3020", "gold": "upower --monitor-detail", "clean_code": "etcdctl watch {{my/key}}"}
{"question_id": "3021", "gold": "upower --version", "clean_code": "mediainfo --Version"}
{"question_id": "3115", "gold": "gh repo create {{name}}", "clean_code": "hg init"}
{"question_id": "3116", "gold": "gh repo clone {{owner}}/{{repository}}", "clean_code": "git clone {{remote_repository_location}}"}
{"question_id": "3117", "gold": "gh repo fork {{owner}}/{{repository}} --clone", "clean_code": "hub fork {{remote_name}} {{repository_url}}"}
{"question_id": "3118", "gold": "gh repo view {{repository}} --web", "clean_code": "git instaweb --browser {{repository_url}}"}
{"question_id": "3119", "gold": "gh repo list {{owner}}", "clean_code": "gh secret set {{name}}--repos {{owner|username_or_organization}}"}
{"question_id": "3120", "gold": "gh repo list {{owner}} --non-forks", "clean_code": "zypper lr --non-forks"}
{"question_id": "3121", "gold": "gh repo list {{owner}} --language {{language_name}}", "clean_code": "mkisofs -l {{en}}"}
{"question_id": "3250", "gold": "fselect size, path from {{path/to/directory}} where name = {{'*.cfg'}} or name = {{'*.tmp'}}", "clean_code": "duplicity --tempdir {{path/to/directory}}"}
{"question_id": "3251", "gold": "fselect path from {{path/to/directory}} where width = height", "clean_code": "scanimage -s {{path/to/image1.png}} {{path/to/image2.jpg}}"}
{"question_id": "3252", "gold": "fselect path from {{path/to/directory}} where genre = {{Rap}} and bitrate = {{320}} and mp3_year lt {{2000}}", "clean_code": "transcode -N {{oldschool}} {{path/to/file.mp3}}"}
{"question_id": "3253", "gold": "fselect size, path from {{path/to/directory}} limit {{5}} into json", "clean_code": "cat {{file.json}}| jq'select {{5}}'"}
{"question_id": "3254", "gold": "fselect \"{{MIN(size), MAX(size), AVG(size), SUM(size), COUNT(*)}} from {{path/to/directory}}\"", "clean_code": "pgbench --aggregate-interval= {{seconds}} {{path/to/directory}}"}
{"question_id": "3287", "gold": "lynx {{example.com}}", "clean_code": "nautilus {{website_url}}"}
{"question_id": "3288", "gold": "lynx -anonymous {{example.com}}", "clean_code": "sudo lynx -anonymous"}
{"question_id": "3289", "gold": "lynx -use_mouse {{example.com}}", "clean_code": "urxvt -on"}
{"question_id": "3290", "gold": "lynx -color {{example.com}}", "clean_code": "sudo lynx -color"}
{"question_id": "3291", "gold": "lynx -cookie_file={{path/to/file}} {{example.com}}", "clean_code": "sudo lynx -cookie_file= {{path/to/file}} {{path/to/link}}"}
{"question_id": "3292", "gold": "Up arrow key, Down arrow key", "clean_code": "{{Up|Down|Left|Right}}arrow key"}
{"question_id": "3293", "gold": "Left arrow key or u", "clean_code": "htop --back"}
{"question_id": "3294", "gold": "q then y", "clean_code": "jc"}
{"question_id": "3301", "gold": "nasm {{source.asm}}", "clean_code": "nasm {{source.nasm}}"}
{"question_id": "3302", "gold": "nasm -f {{format}} {{source.asm}} -o {{output_file}}", "clean_code": "diffoscope --format {{text|html}} {{source.exe}} {{output_file}}"}
{"question_id": "3303", "gold": "nasm -hf", "clean_code": "nasm -hf"}
{"question_id": "3304", "gold": "nasm -l {{list_file}} {{source.asm}}", "clean_code": "as -al -l {{path/to/file.s}}"}
{"question_id": "3305", "gold": "nasm -i {{path/to/include_dir/}} {{source.asm}}", "clean_code": "egrep --file {{path/to/include_file}} {{path/to/directory}}"}
{"question_id": "3348", "gold": "sudo sv up {{path/to/service}}", "clean_code": "runsv {{path/to/service}}"}
{"question_id": "3349", "gold": "sudo sv down {{path/to/service}}", "clean_code": "sv stop {{service_name}}"}
{"question_id": "3350", "gold": "sudo sv status {{path/to/service}}", "clean_code": "zypper {{service_name}}status"}
{"question_id": "3351", "gold": "sudo sv reload {{path/to/service}}", "clean_code": "systemctl daemon-reload {{service_name}}"}
{"question_id": "3352", "gold": "sudo sv once {{path/to/service}}", "clean_code": "sv --up {{service_name}}"}
{"question_id": "3414", "gold": "ant", "clean_code": "ant build"}
{"question_id": "3415", "gold": "ant -f {{buildfile.xml}}", "clean_code": "ant --file {{build.xml}} {{task_name}}"}
{"question_id": "3416", "gold": "ant -p", "clean_code": "cabal --all"}
{"question_id": "3417", "gold": "ant -d", "clean_code": "make --debug"}
{"question_id": "3418", "gold": "ant -k", "clean_code": "cargo test --all-targets"}
{"question_id": "3552", "gold": "git show-index {{path/to/file.idx}}", "clean_code": "git show-index {{path/to/packfile}}"}
{"question_id": "3553", "gold": "git show-index --object-format={{sha1|sha256}} {{path/to/file}}", "clean_code": "git show-index --object-format= {{sha1|sha256}}"}
{"question_id": "3559", "gold": "docker rmi", "clean_code": "snap help"}
{"question_id": "3560", "gold": "docker rmi {{image1 image2 ...}}", "clean_code": "exiftool \"-rm {{image1 image2...}}\" {{image3...}}"}
{"question_id": "3561", "gold": "docker rmi --force {{image}}", "clean_code": "ctr --force {{image_name}}"}
{"question_id": "3562", "gold": "docker rmi --no-prune {{image}}", "clean_code": "docker rmi --no-prune {{image}}"}
{"question_id": "3577", "gold": "clang++ {{path/to/source.cpp}} -o {{path/to/output_executable}}", "clean_code": "cabal {{path/to/file.cabal}}--output {{path/to/binary}}"}
{"question_id": "3578", "gold": "clang++ {{path/to/source.cpp}} -Wall -o {{path/to/output_executable}}", "clean_code": "testssl --errors --warnings {{example.com}}"}
{"question_id": "3579", "gold": "clang++ {{path/to/source.cpp}} -std={{c++20}} -o {{path/to/output_executable}}", "clean_code": "c99 --standard {{language_standard}} {{path/to/file.c}}"}
{"question_id": "3580", "gold": "clang++ {{path/to/source.cpp}} -o {{path/to/output_executable}} -I{{path/to/header_path}} -L{{path/to/library_path}} -l{{path/to/library_name}}", "clean_code": "rustc --output {{path/to/file.rs}}--include {{library1 library2...}}"}
{"question_id": "3581", "gold": "clang++ -S -emit-llvm {{path/to/source.cpp}} -o {{path/to/output.ll}}", "clean_code": "clang -cpp -S -emit-llvm {{file.c}}-o {{file.ll}}"}
{"question_id": "3600", "gold": "git coauthor {{name}} {{name@example.com}}", "clean_code": "git show {{commit|branch_name|author}}"}
{"question_id": "3670", "gold": "ogr2ogr -f GPKG {{output}}.gpkg {{input}}.shp", "clean_code": "ogr2ogr -from {{source.shp}}-to {{target.geopackage}}"}
{"question_id": "3671", "gold": "ogr2ogr -s_srs {{EPSG:4326}} -t_srs {{EPSG:3857}} -f GPKG {{output}}.gpkg {{input}}.gpkg", "clean_code": "ogr2ogr -set {{epsg4326}}: {{epsg3857}}"}
{"question_id": "3672", "gold": "ogr2ogr -f GPKG {{output}}.gpkg {{input}}.csv -oo X_POSSIBLE_NAMES={{longitude}} -oo Y_POSSIBLE_NAMES={{latitude}} -a_srs {{EPSG:4326}}", "clean_code": "ogr2ogr -x {{column_name_1}}: {{column_name_2}}: {{reference_system}} {{path/to/input_file.csv}}"}
{"question_id": "3673", "gold": "ogr2ogr -f \"PostgreSQL\" PG:dbname=\"{{database_name}}\" {{input}}.gpkg", "clean_code": "ogr2ogr -i {{input.gv}}-o {{output.ogr}}"}
{"question_id": "3674", "gold": "ogr2ogr -spat {{min_x}} {{min_y}} {{max_x}} {{max_y}} -f GPKG {{output}}.gpkg {{input}}.gpkg", "clean_code": "ogr2ogr -clip {{min_geometry}} {{max_geometry}}"}
{"question_id": "3740", "gold": "gh environment", "clean_code": "sc-im --help"}
{"question_id": "3840", "gold": "cmake {{path/to/project_directory}}", "clean_code": "cmake --build {{path/to/build_directory}}"}
{"question_id": "3841", "gold": "cmake {{path/to/project_directory}} -D {{CMAKE_BUILD_TYPE=Release}}", "clean_code": "cmake --build --preset {{release}}"}
{"question_id": "3842", "gold": "cmake --build {{path/to/build_directory}}", "clean_code": "tox {{path/to/directory}}--recipe {{recipe}}"}
{"question_id": "3843", "gold": "cmake --install {{path/to/build_directory}} --strip", "clean_code": "dkms install -g {{/usr/local/}}"}
{"question_id": "3844", "gold": "cmake --install {{path/to/build_directory}} --strip --prefix {{path/to/directory}}", "clean_code": "tox -prefix= {{path/to/custom_prefix}} {{path/to/venv}}"}
{"question_id": "3845", "gold": "cmake --build {{path/to/build_directory}} --target {{target_name}}", "clean_code": "docker build --target {{target}}"}
{"question_id": "3882", "gold": "arp-scan --localnet", "clean_code": "arp-scan"}
{"question_id": "3883", "gold": "arp-scan {{192.168.1.1}}/{{24}}", "clean_code": "nmap {{ip_or_hostname}} {{bitmask}}"}
{"question_id": "3884", "gold": "arp-scan {{127.0.0.0}}-{{127.0.0.31}}", "clean_code": "nmap -r {{ip_or_hostname}}"}
{"question_id": "3885", "gold": "arp-scan {{10.0.0.0}}:{{255.255.255.0}}", "clean_code": "arp-scan --localnet {{ip_address}}: {{net_mask}}"}
{"question_id": "3938", "gold": "elixir {{path/to/file}}", "clean_code": "mix elixir {{path/to/file.eli}}"}
{"question_id": "3939", "gold": "elixir -e \"{{code}}\"", "clean_code": "elixir -e \" {{code}}\""}
{"question_id": "3970", "gold": "tldr bundle", "clean_code": "tldr gocryptfs"}
{"question_id": "3996", "gold": "puppet apply {{path/to/manifest}}", "clean_code": "puppet apply {{path/to/manifest}}"}
{"question_id": "3997", "gold": "puppet apply --execute {{code}}", "clean_code": "puppet apply --execute"}
{"question_id": "3998", "gold": "puppet apply --modulepath {{path/to/directory}} --hiera_config {{path/to/file}} {{path/to/manifest}}", "clean_code": "puppet use {{module}}"}
{"question_id": "4025", "gold": "openscad {{path/to/button.scad}}", "clean_code": "xpdf {{path/to/file.pdf}}"}
{"question_id": "4026", "gold": "openscad -o {{path/to/button.stl}} {{path/to/button.scad}}", "clean_code": "stl2gts {{path/to/input_file.stl}}"}
{"question_id": "4027", "gold": "openscad -o {{path/to/button.png}} --colorscheme {{Sunset}} {{path/to/button.scad}}", "clean_code": "openscad --render --colorscheme= {{cornfield|amf|3mf|dxf|svg|png}} {{path/to/input.scad}}-o {{output.png}}"}
{"question_id": "4064", "gold": "git range-diff {{commit_1}}^! {{commit_2}}^!", "clean_code": "git imerge {{branch_1}} {{branch_2}}"}
{"question_id": "4065", "gold": "git range-diff {{theirs}}...{{ours}}", "clean_code": "git rebase -i {{ours}}-X theirs"}
{"question_id": "4066", "gold": "git range-diff {{base1}}..{{rev1}} {{base2}}..{{rev2}}", "clean_code": "git rebase -d {{base1}} {{base2}}"}
{"question_id": "4281", "gold": "base64 {{filename}}", "clean_code": "uuencode -m -o {{path/to/output_file}} {{path/to/input_file}} {{output_file_name_after_decoding}}"}
{"question_id": "4282", "gold": "base64 --decode {{filename}}", "clean_code": "nkf -mB {{path/to/file.txt}}"}
{"question_id": "4283", "gold": "{{somecommand}} | base64", "clean_code": "{{somecommand}}| uuid"}
{"question_id": "4284", "gold": "{{somecommand}} | base64 --decode", "clean_code": "{{command}}| flac --decode"}
{"question_id": "4506", "gold": "latexmk", "clean_code": "tex {{source.tex}}"}
{"question_id": "4507", "gold": "latexmk {{source.tex}}", "clean_code": "groff {{source.tex}}"}
{"question_id": "4508", "gold": "latexmk -pdf {{source.tex}}", "clean_code": "pdftk {{input.pdf}} {{output.pdf}}"}
{"question_id": "4509", "gold": "latexmk -f {{source.tex}}", "clean_code": "latexmk -g {{source.tex}}"}
{"question_id": "4510", "gold": "latexmk -c {{source.tex}}", "clean_code": "tlmgr --clean {{tex_file}}"}
{"question_id": "4511", "gold": "latexmk -c", "clean_code": "latexmk -C"}
{"question_id": "4634", "gold": "in2csv {{data.xls}}", "clean_code": "in2csv {{path/to/input.xls}}"}
{"question_id": "4635", "gold": "in2csv {{data.dbf}} > {{data.csv}}", "clean_code": "in2csv -f {{dbf.csv}}"}
{"question_id": "4636", "gold": "in2csv --sheet={{sheet_name}} {{data.xlsx}}", "clean_code": "in2csv --sheet {{sheet_name}} {{data.csv}}"}
{"question_id": "4637", "gold": "cat {{data.json}} | in2csv -f json > {{data.csv}}", "clean_code": "in2csv -f {{path/to/file.json}}"}
{"question_id": "4725", "gold": "glib-compile-resources {{file.gresource.xml}}", "clean_code": "glib compile-resources {{file.gresource.xml}}"}
{"question_id": "4726", "gold": "glib-compile-resources --generate-source {{file.gresource.xml}}", "clean_code": "glib compile-resources {{file.gresource.xml}}"}
{"question_id": "4727", "gold": "glib-compile-resources --generate --target={{file.ext}} {{file.gresource.xml}}", "clean_code": "glib compile-resources --target= {{target_file}} {{file.gresource.xml}}"}
{"question_id": "4728", "gold": "glib-compile-resources --generate-dependencies {{file.gresource.xml}}", "clean_code": "kubectl get {{pod_name}}-f {{file.gresource.xml}}"}
{"question_id": "4737", "gold": "gh mintty", "clean_code": "gh run view --help"}
{"question_id": "4805", "gold": "magick {{image.png}} {{image.jpg}}", "clean_code": "convert {{image.png}} {{output_file.png}}"}
{"question_id": "4806", "gold": "magick convert -resize {{100x100}} {{image.jpg}} {{image.jpg}}", "clean_code": "virt-sparsify --resize {{original_image.qcow2}} {{new_image.qcow2}}"}
{"question_id": "4807", "gold": "magick {{*.jpg}} {{images.gif}}", "clean_code": "gifsicle --batch --loop *.gif \" {{anim.gif}}\" {{anim.png}}"}
{"question_id": "4808", "gold": "magick -size {{640x480}} pattern:checkerboard {{checkerboard.png}}", "clean_code": "mplayer -vf {{pattern}}"}
{"question_id": "4809", "gold": "magick {{*.jpg}} +adjoin {{page-%d.pdf}}", "clean_code": "img2pdf {{path/to/file1.jpg}} {{path/to/file2.jpg}}--pagesize {{1024}}--output {{path/to/file.pdf}}"}
{"question_id": "4835", "gold": "optipng {{path/to/file.png}}", "clean_code": "maim {{input.png}} {{output.png}}"}
{"question_id": "4836", "gold": "optipng -o{{7}} {{path/to/file.png}}", "clean_code": "pngcrush -brute -reduce {{in.png}} {{out.png}}"}
{"question_id": "4837", "gold": "optipng -o{{0}} {{path/to/file.png}}", "clean_code": "pngcrush -brute -reduce {{in.png}} {{out.png}}"}
{"question_id": "4838", "gold": "optipng -i {{1}} {{path/to/file.png}}", "clean_code": "compare -interlacing {{input.png}} {{output.png}}"}
{"question_id": "4839", "gold": "optipng -preserve {{path/to/file.png}}", "clean_code": "ocrmypdf --preserve-metadata {{path/to/input.png}} {{path/to/output.pdf}}"}
{"question_id": "4840", "gold": "optipng -strip all {{path/to/file.png}}", "clean_code": "ocrmypdf --remove-vectors {{input.png}} {{output.pdf}}"}
{"question_id": "4949", "gold": "linkchecker {{https://example.com/}}", "clean_code": "linkchecker --url {{https://example.com}}"}
{"question_id": "4950", "gold": "linkchecker --check-extern {{https://example.com/}}", "clean_code": "wget {{https://example.com}}--check-for-external-domains"}
{"question_id": "4951", "gold": "linkchecker --ignore-url {{regular_expression}} {{https://example.com/}}", "clean_code": "git svn --ignore-paths= {{pattern}}"}
{"question_id": "4952", "gold": "linkchecker --file-output {{csv}}/{{path/to/file}} {{https://example.com/}}", "clean_code": "sqlite3 -csv {{path/to/file.csv}}"}
{"question_id": "4972", "gold": "nokogiri {{url|path/to/file}}", "clean_code": "gopass {{path/to/url_or_file}}"}
{"question_id": "4973", "gold": "nokogiri {{url|path/to/file}} --type {{xml|html}}", "clean_code": "git rev-parse --parse-type {{type}}"}
{"question_id": "4974", "gold": "nokogiri {{url|path/to/file}} -C {{path/to/config_file}}", "clean_code": "nix-shell -I {{path/to/file.nix}}"}
{"question_id": "4975", "gold": "nokogiri {{url|path/to/file}} --encoding {{encoding}}", "clean_code": "python sqlmap.py -u \" {{http://www.target.com/vuln.php}}\" --charset= {{UTF-8}}"}
{"question_id": "4976", "gold": "nokogiri {{url|path/to/file}} --rng {{url|path/to/file}}", "clean_code": "ng -I {{path/to/file.ng}}"}
{"question_id": "5057", "gold": "vagrant init", "clean_code": "vagrant init"}
{"question_id": "5058", "gold": "vagrant init ubuntu/trusty32", "clean_code": "vagrant init --hashicorp {{hashicorp}}"}
{"question_id": "5059", "gold": "vagrant up", "clean_code": "vagrant up"}
{"question_id": "5060", "gold": "vagrant suspend", "clean_code": "vagrant suspend"}
{"question_id": "5061", "gold": "vagrant halt", "clean_code": "poweroff --halt"}
{"question_id": "5062", "gold": "vagrant ssh", "clean_code": "vncviewer {{ssh}}"}
{"question_id": "5063", "gold": "vagrant ssh-config", "clean_code": "vagrant ssh-config"}
{"question_id": "5098", "gold": "rbash", "clean_code": "script"}
{"question_id": "5099", "gold": "rbash -c \"{{command}}\"", "clean_code": "doas -c \" {{command}}\""}
{"question_id": "5100", "gold": "rbash {{path/to/script.sh}}", "clean_code": "scala {{path/to/file.scala}}"}
{"question_id": "5101", "gold": "rbash -x {{path/to/script.sh}}", "clean_code": "ruby -x {{path/to/file.rb}}"}
{"question_id": "5102", "gold": "rbash -e {{path/to/script.sh}}", "clean_code": "lxc stop [ {{remote}}:] {{path/to/script.lxc}}"}
{"question_id": "5103", "gold": "rbash -s", "clean_code": "<Esc>s"}
{"question_id": "5141", "gold": "lzop {{file}}", "clean_code": "lzop {{path/to/file}}"}
{"question_id": "5142", "gold": "lzop -d {{file}}.lzo", "clean_code": "lz4 -d {{file.lz4}}"}
{"question_id": "5143", "gold": "lzop -{{level}} {{file}}", "clean_code": "gunzip --level {{0|9}} {{file.ext}}"}
{"question_id": "5185", "gold": "sccmap -S {{path/to/input1.gv}} {{path/to/input2.gv ...}} > {{path/to/output.gv}}", "clean_code": "sccmap {{path/to/input1.gv}} {{path/to/input2.gv...}}> {{path/to/output.gv}}"}
{"question_id": "5186", "gold": "sccmap -v -s {{path/to/input1.gv}} {{path/to/input2.gv ...}}", "clean_code": "ghci -g {{path/to/file.gv}}"}
{"question_id": "5187", "gold": "sccmap -?", "clean_code": "sccmap -?"}
{"question_id": "5505", "gold": "iverilog {{source.v}} -o {{executable}}", "clean_code": "csc {{path/to/input_file.cs}}-o {{path/to/output_file.cs}}"}
{"question_id": "5506", "gold": "iverilog {{source.v}} -Wall -o {{executable}}", "clean_code": "cmake --warnings"}
{"question_id": "5507", "gold": "iverilog -o {{executable}} -tvvp {{source.v}}", "clean_code": "ivalilog -vvp {{path/to/file.v}}"}
{"question_id": "5508", "gold": "iverilog {{source.v}} -o {{executable}} -I{{path/to/library_directory}}", "clean_code": "ipertilog -C {{path/to/library_directory}}-o {{path/to/output.verilog}}"}
{"question_id": "5509", "gold": "iverilog -E {{source.v}}", "clean_code": "ipertilog -E {{path/to/file.verilog}}"}
{"question_id": "5530", "gold": "fgrep {{search_string}} {{path/to/file}}", "clean_code": "fzf --exact {{exact_string}} {{path/to/file}}"}
{"question_id": "5531", "gold": "fgrep -x {{path/to/file1}} {{path/to/file2}}", "clean_code": "git add -e \" {{search_pattern}}\" {{path/to/file1}} {{path/to/file2}}"}
{"question_id": "5532", "gold": "fgrep -c {{search_string}} {{path/to/file}}", "clean_code": "rg -c ' {{search_string}}' {{path/to/file}}"}
{"question_id": "5533", "gold": "fgrep -n {{search_string}} {{path/to/file}}", "clean_code": "dnf ' {{line_number}}' {{path/to/file}}"}
{"question_id": "5534", "gold": "fgrep -v {{search_string}} {{path/to/file}}", "clean_code": "sam list --exclude {{search_string}}"}
{"question_id": "5535", "gold": "fgrep -l {{search_string}} {{path/to/file1}} {{path/to/file2}}", "clean_code": "pdfgrep --count {{search_string}} {{file1}} {{file2}}"}
{"question_id": "5579", "gold": "asciidoctor {{path/to/file.adoc}}", "clean_code": "xmlto --format {{html}} {{path/to/input.xml}}"}
{"question_id": "5580", "gold": "asciidoctor -a stylesheet={{path/to/stylesheet.css}} {{path/to/file.adoc}}", "clean_code": "pandoc --convert {{path/to/input_file.adoc}}-c {{stylesheet_url}}-t {{html}} {{stylesheet_text}}"}
{"question_id": "5581", "gold": "asciidoctor --embedded {{path/to/file.adoc}}", "clean_code": "asciidoctor --embedded {{path/to/source.adoc}}"}
{"question_id": "5582", "gold": "asciidoctor --backend={{pdf}} --require={{asciidoctor-pdf}} {{path/to/file.adoc}}", "clean_code": "inkscape {{path/to/input.adoc}} {{path/to/output.pdf}}"}
{"question_id": "5620", "gold": "/front", "clean_code": "mpg321 {{path/to/file_a|URL}} {{path/to/file_b|URL}} {{...}}"}
{"question_id": "5621", "gold": "/r/{{subreddit_name}}", "clean_code": "rtv -s {{subreddit}}"}
{"question_id": "5622", "gold": "[space]", "clean_code": "l {{file1}} {{file2}}"}
{"question_id": "5623", "gold": "o", "clean_code": "xpdf {{path/to/file.pdf}}"}
{"question_id": "5624", "gold": "u", "clean_code": "script -I {{path/to/logfile.log}}"}
{"question_id": "5625", "gold": "?", "clean_code": "xpdf help"}
{"question_id": "5733", "gold": "pandoc {{input.md}} -o {{output.pdf}}", "clean_code": "pandoc --to {{pdf}} {{file.md}}"}
{"question_id": "5734", "gold": "pandoc {{input.docx}} --to {{gfm}} -o {{output.md}}", "clean_code": "unix2mac -f {{filename.txt}} {{format}}"}
{"question_id": "5735", "gold": "pandoc {{input.md}} -s -o {{output.tex}}", "clean_code": "pandoc --standalone --output {{path/to/output.tex}}"}
{"question_id": "5736", "gold": "pandoc --list-input-formats", "clean_code": "mutool listformats"}
{"question_id": "5737", "gold": "pandoc --list-output-formats", "clean_code": "mutool list"}
{"question_id": "5804", "gold": "paste -s {{file}}", "clean_code": "atom --delimiter= {{tab}} {{path/to/file.txt}}"}
{"question_id": "5805", "gold": "paste -s -d {{delimiter}} {{file}}", "clean_code": "atom -s {{delimiter}} {{path/to/file}}"}
{"question_id": "5806", "gold": "paste {{file1}} {{file2}}", "clean_code": "mysql --batch {{path/to/file1}} {{path/to/file2}}"}
{"question_id": "5807", "gold": "paste -d {{delimiter}} {{file1}} {{file2}}", "clean_code": "mysql --delimiter= {{;}} {{path/to/file1}} {{path/to/file2}}"}
{"question_id": "5808", "gold": "paste -d '\\n' {{file1}} {{file2}}", "clean_code": "git merge {{path/to/file1}} {{path/to/file2}}"}
{"question_id": "5853", "gold": "p5 new {{collection_name}}", "clean_code": "ports -e {{p5}}create"}
{"question_id": "5854", "gold": "p5 generate {{project_name}}", "clean_code": "ports p5 {{path/to/ports_file}}"}
{"question_id": "5855", "gold": "p5 server", "clean_code": "p5 manager"}
{"question_id": "5856", "gold": "p5 update", "clean_code": "haxelib upgrade"}
{"question_id": "5895", "gold": "jwt decode {{jwt_string}}", "clean_code": "jwt decode {{token}}"}
{"question_id": "5896", "gold": "jwt decode -j {{jwt_string}}", "clean_code": "jwt --decode {{jwt_token}}"}
{"question_id": "5897", "gold": "jwt encode --alg {{HS256}} --secret {{1234567890}} '{{json_string}}'", "clean_code": "jwt --key= {{secret}} {{input_json}} {{output_json}}"}
{"question_id": "5898", "gold": "jwt encode --alg {{HS256}} --secret {{1234567890}} -P key=value", "clean_code": "mosquitto_sub -v {{path/to/key_pair.pub}} {{path/to/payload.json}}"}
{"question_id": "6091", "gold": "tuir", "clean_code": "tuir"}
{"question_id": "6092", "gold": "/{{subreddit_name}}", "clean_code": "rtv -s {{subreddit}}"}
{"question_id": "6093", "gold": "o", "clean_code": "xpdf {{path/to/link.pdf}}"}
{"question_id": "6094", "gold": "tuir -s {{subreddit_name}}", "clean_code": "rtv -s {{subreddit}}"}
{"question_id": "6095", "gold": "tuir --enable-media", "clean_code": "rtv --enable-media"}
{"question_id": "6212", "gold": "git lfs install", "clean_code": "git lfs init"}
{"question_id": "6213", "gold": "git lfs track '{{*.bin}}'", "clean_code": "mkisofs {{path/to/file_or_directory}}"}
{"question_id": "6214", "gold": "git config -f .lfsconfig lfs.url {{lfs_endpoint_url}}", "clean_code": "git lfs-update"}
{"question_id": "6215", "gold": "git lfs track", "clean_code": "git grep {{search_pattern}}"}
{"question_id": "6216", "gold": "git lfs ls-files", "clean_code": "git svn list"}
{"question_id": "6217", "gold": "git lfs push --all {{remote_name}} {{branch_name}}", "clean_code": "git lfs push"}
{"question_id": "6218", "gold": "git lfs fetch", "clean_code": "git lfs-fetch"}
{"question_id": "6219", "gold": "git lfs checkout", "clean_code": "git lfs checkout"}
{"question_id": "6241", "gold": "git rename-tag {{old_tag_name}} {{new_tag_name}}", "clean_code": "git rename-tag {{old_tag_name}} {{new_tag_name}}"}
{"question_id": "6301", "gold": "gh screensaver", "clean_code": "cmatrix -s"}
{"question_id": "6302", "gold": "gh screensaver --saver {{fireworks|marquee|pipes|pollock|starfield}}", "clean_code": "scrcpy --ensaver {{name}}"}
{"question_id": "6303", "gold": "gh screensaver --saver {{marquee}} -- --message=\"{{message}}\" --font={{font_name}}", "clean_code": "mpv {{text}}--sub-text=\" {{text_to_replace}}\" --font-name=\" {{font_name}}\""}
{"question_id": "6304", "gold": "gh screensaver --saver {{starfield}} -- --density {{500}} --speed {{10}}", "clean_code": "iwconfig -d {{density}}-p {{speed}}screensaver"}
{"question_id": "6305", "gold": "gh screensaver --list", "clean_code": "upx -screensavers"}
{"question_id": "6366", "gold": "cat {{path/to/file}} | git stripspace", "clean_code": "sd 'lorem ipsum 23 ' {{file}}"}
{"question_id": "6367", "gold": "cat {{path/to/file}} | git stripspace --strip-comments", "clean_code": "git format-patch {{path/to/file}}"}
{"question_id": "6368", "gold": "git stripspace --comment-lines < {{path/to/file}}", "clean_code": "hg convert --all {{path/to/file}}"}
{"question_id": "6384", "gold": "opam init", "clean_code": "opam init"}
{"question_id": "6385", "gold": "opam search {{package_name}}", "clean_code": "aptitude search {{search_pattern}}"}
{"question_id": "6386", "gold": "opam install {{package_name}}", "clean_code": "ports install {{package}}"}
{"question_id": "6387", "gold": "opam show {{package_name}}", "clean_code": "dnf --info {{package_name}}"}
{"question_id": "6388", "gold": "opam list", "clean_code": "dnf list --installed"}
{"question_id": "6389", "gold": "opam update", "clean_code": "sudo tlmgr update"}
{"question_id": "6390", "gold": "opam upgrade", "clean_code": "aptitude upgrade"}
{"question_id": "6391", "gold": "opam help", "clean_code": "top"}
{"question_id": "6514", "gold": "git commit-graph write", "clean_code": "git commit-graph write"}
{"question_id": "6515", "gold": "git show-ref --hash | git commit-graph write --stdin-commits", "clean_code": "git commit-graph write --reachable {{path/to/file.graph}}"}
{"question_id": "6516", "gold": "git rev-parse {{HEAD}} | git commit-graph write --stdin-commits --append", "clean_code": "git commit-graph write --reachable {{HEAD}}"}
{"question_id": "6647", "gold": "mongoexport --uri={{connection_string}} --collection={{collection_name}}", "clean_code": "flatpak-builder --export {{path/to/file.json}} {{path/to/manifest}}"}
{"question_id": "6648", "gold": "mongoexport --db={{database_name}} --collection={{collection_name}} --query=\"{{query_object}}\" --out={{path/to/file.json}}", "clean_code": "duplicity collection: {{username}}: {{path/to/file.json}} {{query}}> {{path/to/file.json}}"}
{"question_id": "6649", "gold": "mongoexport --collection={{collection_name}} --jsonArray", "clean_code": "musescore --export-json {{path/to/file.json}}"}
{"question_id": "6650", "gold": "mongoexport --collection={{collection_name}} --type={{csv}} --fields=\"{{field1,field2,...}}\" --out={{path/to/file.csv}}", "clean_code": "glances -t {{5}}--export-csv-file {{path/to/file.csv}}"}
{"question_id": "6651", "gold": "mongoexport --collection={{collection_name}} --type={{csv}} --fields=\"{{field1,field2,...}}\" --queryFile={{path/to/file}} --noHeaderLine --out={{path/to/file.csv}}", "clean_code": "psql --format=csv --file= {{path/to/file.csv}} {{query}}"}
{"question_id": "6652", "gold": "mongoexport --uri={{mongodb_uri}} --collection={{collection_name}} --pretty", "clean_code": "musescore --export-to {{path/to/file.json}}"}
{"question_id": "6653", "gold": "mongoexport --help", "clean_code": "mediainfo --Help"}
{"question_id": "6746", "gold": "lilypond {{path/to/file}}", "clean_code": "lilypond -f {{path/to/file.lily}}--pdf {{path/to/file.pdf}}"}
{"question_id": "6747", "gold": "lilypond --formats={{format_dump}} {{path/to/file}}", "clean_code": "glib compile-resources --format= {{text|html|csharp}} {{path/to/file.resources}}"}
{"question_id": "6748", "gold": "lilypond -s {{path/to/file}}", "clean_code": "apt-get --quiet {{path/to/file.deb}}"}
{"question_id": "6749", "gold": "lilypond --output={{path/to/output_file}} {{path/to/input_file}}", "clean_code": "crystal {{path/to/file.cr}}-o {{path/to/output.cr}}"}
{"question_id": "6750", "gold": "lilypond --version", "clean_code": "lilypond --version"}
{"question_id": "6769", "gold": "openssl s_client -connect {{host}}:{{port}} 2>/dev/null | openssl x509 -noout -dates", "clean_code": "openssl x509 -dates -in {{path/to/file.crt}}-noout -text"}
{"question_id": "6770", "gold": "openssl s_client -connect {{host}}:{{port}} </dev/null", "clean_code": "wget -in {{path/to/ssl_file}}"}
{"question_id": "6771", "gold": "openssl s_client -connect {{host}}:443 -showcerts </dev/null", "clean_code": "sudo certbot --chain-path {{path/to/chain.pem}}--server {{https://example.com}}"}
{"question_id": "6772", "gold": "docker container ls", "clean_code": "dockerd list"}
{"question_id": "6773", "gold": "docker container start {{container1_name}} {{container2_name}}", "clean_code": "lxc start {{container_1}} {{container_2}}"}
{"question_id": "6774", "gold": "docker container kill {{container_name}}", "clean_code": "podman kill {{container_name}} {{container_id}}"}
{"question_id": "6775", "gold": "docker container stop {{container_name}}", "clean_code": "podman stop {{container_name}} {{container_id}}"}
{"question_id": "6776", "gold": "docker container pause {{container_name}}", "clean_code": "ctr pause {{container_name}} {{container_id}}"}
{"question_id": "6777", "gold": "docker container inspect {{container_name}}", "clean_code": "ctr --detailed {{container_name}} {{container_id}}"}
{"question_id": "6778", "gold": "docker container export {{container_name}}", "clean_code": "podman export --tar {{container_name}}: {{container_filesystem}}"}
{"question_id": "6779", "gold": "docker container commit {{container_name}}", "clean_code": "docker run image {{image}}: {{container_name}}"}
{"question_id": "6873", "gold": "ffprobe -v error -show_entries {{input.mp4}}", "clean_code": "ffprobe -show_streams {{path/to/file}}"}
{"question_id": "6874", "gold": "ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}", "clean_code": "mp4box -duration {{file.mp4}}"}
{"question_id": "6875", "gold": "ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}", "clean_code": "ffmpeg -r {{file.mp3}}"}
{"question_id": "6876", "gold": "ffprobe -v error -select_streams v:0 -show_entries stream={{width|height}} -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}", "clean_code": "mplayer {{path/to/file}}"}
{"question_id": "6877", "gold": "ffprobe -v error -select_streams v:0 -show_entries stream=bit_rate -of default=noprint_wrappers=1:nokey=1 {{input.mp4}}", "clean_code": "mplayer -vbitrate= {{value}}"}
{"question_id": "6912", "gold": "screenfetch", "clean_code": "screenfetch"}
{"question_id": "6913", "gold": "screenfetch -s", "clean_code": "scrot --command= {{path/to/screenshot.png}}"}
{"question_id": "6914", "gold": "screenfetch -A '{{distribution_name}}'", "clean_code": "screenfetch -D {{logo.png}}"}
{"question_id": "6915", "gold": "screenfetch -D '{{distribution_name}}'", "clean_code": "screenfetch -D {{logo.png}}-T {{text}}"}
{"question_id": "6916", "gold": "screenfetch -N", "clean_code": "sudo quilt --color= {{always|auto|never}}"}
{"question_id": "6922", "gold": "nix-shell", "clean_code": "nix-shell {{expression}}"}
{"question_id": "6923", "gold": "nix-shell --run \"{{command}} {{command_arguments}}\"", "clean_code": "mysql -i {{host}}-c \" {{command}}\""}
{"question_id": "6924", "gold": "nix-shell {{default.nix}}", "clean_code": "nix-shell -p {{default.nix}}"}
{"question_id": "6925", "gold": "nix-shell --packages {{package_name_1}} {{package_name_2}}", "clean_code": "nix-shell -I {{nixpkgs}}"}
{"question_id": "6926", "gold": "nix-shell --packages {{package_names}} -I nixpkgs={{https://github.com/NixOS/nixpkgs/archive/nixpkgs_revision.tar.gz}}", "clean_code": "nix-shell --I {{nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-20.03.tar.gz}}"}
{"question_id": "6927", "gold": "nix-shell -i {{interpreter}} --packages {{package_names}}", "clean_code": "nix-shell -i {{real-interpreter}}-p {{packages}}-f {{file}}"}
{"question_id": "6928", "gold": "gdu", "clean_code": "calcurse"}
{"question_id": "6929", "gold": "gdu {{path/to/directory}}", "clean_code": "calcurse --datadir {{path/to/directory}}"}
{"question_id": "6930", "gold": "gdu --show-disks", "clean_code": "gdu -d"}
{"question_id": "6931", "gold": "gdu --ignore-dirs {{path/to/directory1,path/to/directory2,...}}", "clean_code": "git add --interactive --no-all --ignore {{*.txt}}"}
{"question_id": "6932", "gold": "gdu --ignore-dirs-pattern '{{.*[abc]+}}'", "clean_code": "fd --regex ' {{^ba[rz]*$}}'"}
{"question_id": "6933", "gold": "gdu --no-hidden", "clean_code": "ag --hidden {{path/to/directory}}"}
{"question_id": "6934", "gold": "gdu --non-interactive {{path/to/directory}}", "clean_code": "find {{path/to/directory}}-type f | sk --no-print"}
{"question_id": "6935", "gold": "gdu --no-progress {{path/to/directory}}", "clean_code": "mysql --no-progress"}
{"question_id": "6978", "gold": "mongorestore --db {{database_name}} {{path/to/directory}}", "clean_code": "mongod --dbpath {{path/to/directory}}"}
{"question_id": "6979", "gold": "mongorestore --host {{database_host:port}} --db {{database_name}} --username {{username}} {{path/to/directory}} --password", "clean_code": "mongod --host {{host}}--port {{port}}--dbpath {{path/to/directory}}--user {{user}}--password"}
{"question_id": "6980", "gold": "mongorestore --db {{database_name}} {{path/to/file}}", "clean_code": "mongodump --file= {{path/to/file.bson}}--database= {{mongodb_database}}--import= {{collection_name}}"}
{"question_id": "6981", "gold": "mongorestore --host {{database_host:port}} --db {{database_name}} --username {{username}} {{path/to/file}} --password", "clean_code": "mongod --host {{host}}: {{port}}--database {{database}}--auth"}
{"question_id": "6995", "gold": "php {{file}}", "clean_code": "php {{path/to/file.php}}"}
{"question_id": "6996", "gold": "php -l {{file}}", "clean_code": "php {{path/to/file.php}}"}
{"question_id": "6997", "gold": "php -a", "clean_code": "php --interactive"}
{"question_id": "6998", "gold": "php -r \"{{code}}\"", "clean_code": "exiftool -php {{path/to/file.php}}"}
{"question_id": "6999", "gold": "php -S {{host:port}}", "clean_code": "php"}
{"question_id": "7000", "gold": "php -m", "clean_code": "phpcbf --extensions"}
{"question_id": "7001", "gold": "php -i", "clean_code": "php --info"}
{"question_id": "7057", "gold": "php yii {{help}}", "clean_code": "dnf --available"}
{"question_id": "7058", "gold": "php yii {{serve}}", "clean_code": "urxvt init php"}
{"question_id": "7059", "gold": "php yii {{gii/crud}} --modelClass={{ModelName}} --controllerClass={{ControllerName}}", "clean_code": "django-admin start-model {{model_name}}"}
{"question_id": "7149", "gold": "srm -s {{path/to/file}}", "clean_code": "srm --simple {{path/to/file}}"}
{"question_id": "7150", "gold": "srm -m {{path/to/file}}", "clean_code": "srm -r {{path/to/file}}"}
{"question_id": "7151", "gold": "srm -r -s {{path/to/directory}}", "clean_code": "srm --recursive --simple {{path/to/directory}}"}
{"question_id": "7152", "gold": "srm -i {{\\*}}", "clean_code": "rm -i {{path/to/file}}"}
{"question_id": "7251", "gold": "tldr musescore", "clean_code": "tldr clang"}
{"question_id": "7569", "gold": "javac {{file.java}}", "clean_code": "javac {{file.java}}"}
{"question_id": "7570", "gold": "javac {{file1.java}} {{file2.java}} {{file3.java}}", "clean_code": "javac {{file1.jar}} {{file2.jar}}"}
{"question_id": "7571", "gold": "javac {{*.java}}", "clean_code": "javac {{*.java}}"}
{"question_id": "7572", "gold": "javac -d {{path/to/some/directory}} {{file.java}}", "clean_code": "javac -d {{path/to/directory}} {{filename.java}}"}
{"question_id": "7573", "gold": "bat {{file}}", "clean_code": "ffe {{path/to/file}}"}
{"question_id": "7574", "gold": "bat {{file1}} {{file2}} > {{target_file}}", "clean_code": "git notes concatenate --file {{path/to/file1}} {{path/to/file2}}> {{target_file}}"}
{"question_id": "7575", "gold": "bat {{file1}} {{file2}} >> {{target_file}}", "clean_code": "ogr2ogr -append {{path/to/source_file1}} {{path/to/source_file2}} {{path/to/target_file3}}"}
{"question_id": "7576", "gold": "bat -n {{file}}", "clean_code": "diff --unified {{file1}} {{file2}}"}
{"question_id": "7577", "gold": "bat --language json {{file.json}}", "clean_code": "pandoc --json {{path/to/file.json}}"}
{"question_id": "7578", "gold": "bat --list-languages", "clean_code": "bat --list-languages"}
{"question_id": "7628", "gold": "ansible-doc --list", "clean_code": "dnf --available"}
{"question_id": "7629", "gold": "ansible-doc --type {{plugin_type}} --list", "clean_code": "sudo certbot plugins --help {{plugin_type}}"}
{"question_id": "7630", "gold": "ansible-doc {{plugin_name}}", "clean_code": "dnf --info {{module_name}}"}
{"question_id": "7631", "gold": "ansible-doc --type {{plugin_type}} {{plugin_name}}", "clean_code": "ghci --info {{plugin_name}}--type {{plugin_type}}"}
{"question_id": "7632", "gold": "ansible-doc --snippet {{plugin_name}}", "clean_code": "ansible-doc --snippet {{plugin_name}}"}
{"question_id": "7633", "gold": "ansible-doc --json {{plugin_name}}", "clean_code": "tox --result-json {{path/to/file.json}}"}
{"question_id": "7647", "gold": "pngcheck {{image.png}}", "clean_code": "jp2a {{path/to/image.jpg}}"}
{"question_id": "7648", "gold": "pngcheck -c {{image.png}}", "clean_code": "exiftool -l {{image.jpg}}"}
{"question_id": "7649", "gold": "pngcheck -cvt {{image.png}}", "clean_code": "exiv2 image.jpg {{path/to/image.jpg}}"}
{"question_id": "7650", "gold": "cat {{path/to/image.png}} | pngcheck -cvt", "clean_code": "ctr --detailed {{image}}"}
{"question_id": "7651", "gold": "pngcheck -s {{image.png}}", "clean_code": "pngcheck -s {{search_pattern}} {{path/to/file}}"}
{"question_id": "7652", "gold": "pngcheck -x {{image.png}}", "clean_code": "pngcheck -x {{path/to/file(s)}} {{path/to/other_file(s)}}"}
{"question_id": "7706", "gold": "helix {{path/to/file}}", "clean_code": "xpdf {{path/to/file.pdf}}"}
{"question_id": "7707", "gold": ":theme {{theme_name}}", "clean_code": "helm theme {{theme_name}}"}
{"question_id": "7708", "gold": ":wq<Enter>", "clean_code": "echo \" {{message}}\" | newsboat"}
{"question_id": "7709", "gold": ":q!<Enter>", "clean_code": "sudo tlp setforcequit"}
{"question_id": "7710", "gold": "u", "clean_code": "git reset HEAD~"}
{"question_id": "7711", "gold": "/{{search_pattern}}<Enter>", "clean_code": "Ctrl + F \" {{pattern}}\" <Enter>"}
{"question_id": "7712", "gold": ":format", "clean_code": "babel {{path/to/input_file}}"}
{"question_id": "7767", "gold": "echo \"example\" | tee {{path/to/file}}", "clean_code": "dd if=/dev/ {{file1}}of=/dev/ {{file2}}| dd if=/dev/ {{file3}}"}
{"question_id": "7768", "gold": "echo \"example\" | tee -a {{path/to/file}}", "clean_code": "git notes append --no-overwrite {{object}} {{files}}"}
{"question_id": "7769", "gold": "echo \"example\" | tee {{/dev/tty}} | {{xargs printf \"[%s]\"}}", "clean_code": "echo {{Hello world}}| mailx -p"}
{"question_id": "7770", "gold": "echo \"example\" | tee >(xargs mkdir) >(wc -c)", "clean_code": "figlet -c {{path/to/directory}}% {{path/to/file_or_directory}}"}
{"question_id": "7963", "gold": "gh repo clone {{owner}}/{{repository}}", "clean_code": "hub clone {{github_repo_url}} {{local_repository_location}}"}
{"question_id": "7964", "gold": "gh issue create", "clean_code": "gh issue create {{issue_name}}"}
{"question_id": "7965", "gold": "gh issue list", "clean_code": "pacman --filter"}
{"question_id": "7966", "gold": "gh issue view --web {{issue_number}}", "clean_code": "cus {{issue_number}}"}
{"question_id": "7967", "gold": "gh pr create", "clean_code": "gh pr create"}
{"question_id": "7968", "gold": "gh pr view --web {{pr_number}}", "clean_code": "gh pr create --web"}
{"question_id": "7969", "gold": "gh pr checkout {{pr_number}}", "clean_code": "git push {{remote_name}} {{pull_request_number}}"}
{"question_id": "7970", "gold": "gh pr status", "clean_code": "hg status {{path/to/source_repository}}"}
{"question_id": "8077", "gold": "gh formatting", "clean_code": "gh api --jq '.[]'"}
{"question_id": "8257", "gold": "find {{root_path}} -name '{{*.ext}}'", "clean_code": "fd --extension {{txt}}"}
{"question_id": "8258", "gold": "find {{root_path}} -path '{{**/path/**/*.ext}}' -or -name '{{*pattern*}}'", "clean_code": "hg locate {{pattern}}"}
{"question_id": "8259", "gold": "find {{root_path}} -type d -iname '{{*lib*}}'", "clean_code": "find -name {{name}}-ignore-case"}
{"question_id": "8260", "gold": "find {{root_path}} -name '{{*.py}}' -not -path '{{*/site-packages/*}}'", "clean_code": "git log --exclude {{pattern}}"}
{"question_id": "8261", "gold": "find {{root_path}} -size {{+500k}} -size {{-10M}}", "clean_code": "zstd --search {{path/to/file_a.txt}} {{path/to/file_b.txt}}"}
{"question_id": "8262", "gold": "find {{root_path}} -name '{{*.ext}}' -exec {{wc -l {} }}\\;", "clean_code": "sup -e {{command}} {{path/to/file_or_directory}}"}
{"question_id": "8263", "gold": "find {{root_path}} -daystart -mtime -{{7}} -delete", "clean_code": "find -delete -depth 7 {{path/to/directory}}"}
{"question_id": "8264", "gold": "find {{root_path}} -type {{f}} -empty -delete", "clean_code": "find -print0 | xargs -0 -delete {{path/to/directory}}"}
{"question_id": "8289", "gold": "jp2a {{path/to/image.jpeg}}", "clean_code": "jp2a {{path/to/file.jpg}}"}
{"question_id": "8290", "gold": "jp2a {{www.example.com/image.jpeg}}", "clean_code": "jp2a {{www.youtube.com/watch?v=Mwa0_nE9H7A}}"}
{"question_id": "8291", "gold": "jp2a --colors {{path/to/image.jpeg}}", "clean_code": "git status --color {{path/to/file_or_directory}}"}
{"question_id": "8292", "gold": "jp2a --chars='{{..-ooxx@@}}' {{path/to/image.jpeg}}", "clean_code": "dd if= {{input_characters}}of= {{output_characters}}"}
{"question_id": "8293", "gold": "jp2a --output={{path/to/output_file.txt}} {{path/to/image.jpeg}}", "clean_code": "exiv2 -t ascii {{path/to/file.jpg}}"}
{"question_id": "8294", "gold": "jp2a --html --output={{path/to/output_file.html}} {{path/to/image.jpeg}}", "clean_code": "jp2a --htmlls {{path/to/file.jpg}}"}
{"question_id": "8295", "gold": "git ignore-io list", "clean_code": "snapper list-templates"}
{"question_id": "8296", "gold": "git ignore-io {{item_a,item_b,item_n}}", "clean_code": "git init --template= {{path/to/template.gitignore}}"}
{"question_id": "8491", "gold": "s {{query}}", "clean_code": "rclone {{path/to/file_or_directory}} {{query}}"}
{"question_id": "8492", "gold": "s --list-providers", "clean_code": "redshift -l list"}
{"question_id": "8493", "gold": "s --provider {{provider}} {{query}}", "clean_code": "salt ' {{search_term}}' provider=' {{all}}"}
{"question_id": "8494", "gold": "s --binary \"{{binary}} {{arguments}}\" {{query}}", "clean_code": "apt search {{binary}}"}
{"question_id": "8533", "gold": "git tag", "clean_code": "buku tags"}
{"question_id": "8534", "gold": "git tag {{tag_name}}", "clean_code": "git push {{tag_name}}"}
{"question_id": "8535", "gold": "git tag {{tag_name}} {{commit}}", "clean_code": "git describe {{name}}: {{commit}}"}
{"question_id": "8536", "gold": "git tag {{tag_name}} -m {{tag_message}}", "clean_code": "git tag -m \" {{message}}\""}
{"question_id": "8537", "gold": "git tag -d {{tag_name}}", "clean_code": "git tag --delete {{name}}"}
{"question_id": "8538", "gold": "git fetch --tags", "clean_code": "git fetch --tags"}
{"question_id": "8539", "gold": "git tag --contains {{commit}}", "clean_code": "git shortlog HEAD~ {{commit}}"}
{"question_id": "8588", "gold": "jdupes {{directory}}", "clean_code": "rg {{path/to/directory}}"}
{"question_id": "8589", "gold": "jdupes {{directory1}} {{directory2}}", "clean_code": "fd {{pattern}} {{directory1}} {{directory2}}"}
{"question_id": "8590", "gold": "jdupes --recurse {{directory}}", "clean_code": "ag --all-recursive"}
{"question_id": "8591", "gold": "jdupes --delete --recurse {{directory}}", "clean_code": "virt-sysprep --domain {{vm_name}}--preserve {{path/to/directory}}"}
{"question_id": "8592", "gold": "jdupes {{directory1}} --recurse: {{directory2}}", "clean_code": "rdfind {{directory1}} {{directory2}}"}
{"question_id": "8593", "gold": "jdupes -O {{directory1}} {{directory2}} {{directory3}}", "clean_code": "module -d {{directory1}} {{directory2}}"}
{"question_id": "8617", "gold": "which {{executable}}", "clean_code": "ocamlc -where {{executable}}"}
{"question_id": "8618", "gold": "which -a {{executable}}", "clean_code": "pyenv which {{remove}}"}
{"question_id": "8649", "gold": "gofmt {{source.go}}", "clean_code": "mysql {{path/to/file.sql}}"}
{"question_id": "8650", "gold": "gofmt -w {{source.go}}", "clean_code": "rsync --inplace --batch= {{path/to/file}} {{path/to/local_file}}"}
{"question_id": "8651", "gold": "gofmt -s -w {{source.go}}", "clean_code": "jar cf {{path/to/file.jar}}-o {{path/to/output.jar}}"}
{"question_id": "8652", "gold": "gofmt -e {{source.go}}", "clean_code": "ffuf -w {{path/to/file.txt}}-se"}
{"question_id": "8715", "gold": "ansible {{group}} --list-hosts", "clean_code": "ssh-keygen -L {{group}}"}
{"question_id": "8716", "gold": "ansible {{group}} -m ping", "clean_code": "jc --ping-s {{group_name}}"}
{"question_id": "8717", "gold": "ansible {{group}} -m setup", "clean_code": "puppet describe {{host_group}}"}
{"question_id": "8718", "gold": "ansible {{group}} -m command -a '{{my_command}}'", "clean_code": "erl -man {{host_1}}-hosts {{host_2}}-args {{command_arguments}}"}
{"question_id": "8719", "gold": "ansible {{group}} --become --ask-become-pass -m command -a '{{my_command}}'", "clean_code": "archinstall --administrator {{command}}"}
{"question_id": "8720", "gold": "ansible {{group}} -i {{inventory_file}} -m command -a '{{my_command}}'", "clean_code": "ansible -i {{path/to/file}} {{command}}"}
{"question_id": "8721", "gold": "ansible localhost -m debug -a '{{var=groups.keys()}}'", "clean_code": "ansible-inventory --list"}
{"question_id": "8747", "gold": "fusermount -u {{path/to/mount_point}}", "clean_code": "fusermount -u {{path/to/mount_point}}"}
{"question_id": "8748", "gold": "fusermount -z {{path/to/mount_point}}", "clean_code": "encfs --unmount {{/path/to/cipher_dir}} {{/path/to/mount_point}}"}
{"question_id": "8749", "gold": "fusermount --version", "clean_code": "mediainfo --Version"}
{"question_id": "8790", "gold": "lsd -1", "clean_code": "rsync -l {{path/to/file_or_directory}}"}
{"question_id": "8791", "gold": "lsd -a", "clean_code": "rg --hidden"}
{"question_id": "8792", "gold": "lsd -F", "clean_code": "quilt --strip-trailing-whitespace {{path/to/file_or_directory}}"}
{"question_id": "8793", "gold": "lsd -la", "clean_code": "tar ls --long {{target.tar.xz}}"}
{"question_id": "8794", "gold": "lsd -lh", "clean_code": "sudo btrfs filesystem show --si {{path/to/btrfs_mount}}"}
{"question_id": "8795", "gold": "lsd -lS", "clean_code": "file -l {{path/to/file_or_directory}}"}
{"question_id": "8796", "gold": "lsd -ltr", "clean_code": "ls -ltr"}
{"question_id": "8797", "gold": "lsd -d {{*/}}", "clean_code": "man -l"}
{"question_id": "8827", "gold": "rg {{regular_expression}}", "clean_code": "egrep {{search_pattern}}"}
{"question_id": "8828", "gold": "rg --no-ignore --hidden {{regular_expression}}", "clean_code": "rg --hidden"}
{"question_id": "8829", "gold": "rg --type {{filetype}} {{regular_expression}}", "clean_code": "ack --type= {{regular_expression}}--search=\" {{search_pattern}}\" {{path/to/file}}"}
{"question_id": "8830", "gold": "rg {{regular_expression}} {{set_of_subdirs}}", "clean_code": "whatis --regex ' {{wish[0-9]\\.[0-9]}}'"}
{"question_id": "8831", "gold": "rg {{regular_expression}} --glob {{glob}}", "clean_code": "rg {{readme}}"}
{"question_id": "8832", "gold": "rg --files-with-matches {{regular_expression}}", "clean_code": "ack --files-with-matches"}
{"question_id": "8833", "gold": "rg --invert-match {{regular_expression}}", "clean_code": "ack --files-without-matches \" {{regular_expression}}\" {{file}}"}
{"question_id": "8834", "gold": "rg --fixed-strings -- {{string}}", "clean_code": "ag -Q \" {{search_pattern}}\" {{path/to/file_or_directory}}"}
{"question_id": "8886", "gold": "radare2 -nw {{path/to/binary}}", "clean_code": "tcpdump -w {{path/to/file}}--noconfirm {{interface_name}}"}
{"question_id": "8887", "gold": "radare2 -d {{path/to/binary}}", "clean_code": "hwclock --debug {{program}}"}
{"question_id": "8888", "gold": "radare2 -i {{path/to/script.r2}} {{path/to/binary}}", "clean_code": "php {{path/to/script.php}}"}
{"question_id": "8889", "gold": "> {{radare2_command}}?", "clean_code": "keepassxc-cli --help"}
{"question_id": "8890", "gold": "> !{{shell_command}}", "clean_code": "keepassxc-cli {{command}}"}
{"question_id": "8891", "gold": "> pr > {{path/to/file.bin}}", "clean_code": "binwalk --raw {{path/to/file}}"}
{"question_id": "8892", "gold": "sha256sum {{path/to/file}}", "clean_code": "sha256sum {{path/to/file}}"}
{"question_id": "8893", "gold": "sha256sum {{path/to/file1}} {{path/to/file2}}", "clean_code": "datamash --algorithm 256 {{path/to/file1}} {{path/to/filen2}}"}
{"question_id": "8894", "gold": "sha256sum {{path/to/file1}} {{path/to/file2}} > {{path/to/file.sha256}}", "clean_code": "datamash --algorithm 256 {{path/to/file1}} {{path/to/file2}}> {{path/to/file.txt}}"}
{"question_id": "8895", "gold": "sha256sum --check {{path/to/file.sha256}}", "clean_code": "sha256sum --check {{path/to/file.sha256}}"}
{"question_id": "8896", "gold": "sha256sum --check --quiet {{path/to/file.sha256}}", "clean_code": "openssl s_client -verify -out {{path/to/file.txt}}"}
{"question_id": "8945", "gold": "iconv -f {{from_encoding}} -t {{to_encoding}} {{input_file}}", "clean_code": "mutool draw -F {{encoding}} {{file}}"}
{"question_id": "8946", "gold": "iconv -f {{from_encoding}} {{input_file}} > {{output_file}}", "clean_code": "date {{path/to/input_file}}-o {{path/to/output_file}}"}
{"question_id": "8947", "gold": "iconv -l", "clean_code": "enca list"}
{"question_id": "8952", "gold": "xz {{file}}", "clean_code": "xz {{file.xz}}"}
{"question_id": "8953", "gold": "xz -d {{file.xz}}", "clean_code": "xz -d {{file.xz}}"}
{"question_id": "8954", "gold": "xz --format={{lzma}} {{file}}", "clean_code": "xz -F {{lzma}} {{file}}"}
{"question_id": "8955", "gold": "xz -d --format={{lzma}} {{file.lzma}}", "clean_code": "xz -d {{file.lzma}}"}
{"question_id": "8956", "gold": "xz -dc {{file.xz}}", "clean_code": "lz4 -d {{file.lz4}}"}
{"question_id": "8957", "gold": "xz -k {{file}}", "clean_code": "upx --keep-original {{path/to/file}}"}
{"question_id": "8958", "gold": "xz -0 {{file}}", "clean_code": "pigz -9 {{filename}}"}
{"question_id": "8959", "gold": "xz -9 {{file}}", "clean_code": "upx --default-method {{file}}"}
{"question_id": "8987", "gold": "patch < {{patch.diff}}", "clean_code": "quilt -p {{path/to/file.diff}} {{path/to/file_a.diff}} {{path/to/file_b.diff}}"}
{"question_id": "8988", "gold": "patch {{path/to/file}} < {{patch.diff}}", "clean_code": "git format-patch {{path/to/file}}"}
{"question_id": "8989", "gold": "patch {{path/to/input_file}} -o {{path/to/output_file}} < {{patch.diff}}", "clean_code": "git config --file {{path/to/file}}--patch {{path/to/new_file}}"}
{"question_id": "8990", "gold": "patch -p1 < {{patch.diff}}", "clean_code": "git apply --directory= {{path/to/file}}"}
{"question_id": "8991", "gold": "patch -R < {{patch.diff}}", "clean_code": "git apply --reverse {{path/to/file}}"}
{"question_id": "9011", "gold": "man {{command}}", "clean_code": "git help --man {{command}}"}
{"question_id": "9012", "gold": "man {{7}} {{command}}", "clean_code": "xman -help {{command}}"}
{"question_id": "9013", "gold": "man --path", "clean_code": "vcsh manpages"}
{"question_id": "9014", "gold": "man -w {{command}}", "clean_code": "podman -p {{container_name}}--location {{manpage_name}}"}
{"question_id": "9015", "gold": "man {{command}} --locale={{locale}}", "clean_code": "godot --language {{en}}"}
{"question_id": "9016", "gold": "man -k \"{{search_string}}\"", "clean_code": "find {{search_string}}"}
{"question_id": "9049", "gold": "expand {{file}}", "clean_code": "expand"}
{"question_id": "9050", "gold": "expand", "clean_code": "indent -st"}
{"question_id": "9051", "gold": "expand -i {{file}}", "clean_code": "expand --initial {{file1}} {{file2}}"}
{"question_id": "9052", "gold": "expand -t={{number}} {{file}}", "clean_code": "expand -t {{number}} {{file}}"}
{"question_id": "9053", "gold": "expand -t={{1,4,6}}", "clean_code": "expand -t {{','}} {{file1}} {{file2}}"}
{"question_id": "9106", "gold": "fastboot oem unlock", "clean_code": "fastboot flashing unlock"}
{"question_id": "9107", "gold": "fastboot oem lock", "clean_code": "fastboot relock"}
{"question_id": "9108", "gold": "fastboot reboot bootloader", "clean_code": "fastboot reboot"}
{"question_id": "9109", "gold": "fastboot flash {{file.zip}}", "clean_code": "flashrom {{programmer}}--image {{image}}"}
{"question_id": "9110", "gold": "fastboot flash recovery {{file.img}}", "clean_code": "flashrom -p {{programmer}}--image {{path/to/image}}"}
{"question_id": "9111", "gold": "fastboot devices", "clean_code": "st-info"}
{"question_id": "9112", "gold": "fastboot getvar all", "clean_code": "nvidia-smi {{/dev/sdb1}}"}
{"question_id": "9113", "gold": "rdfind -dryrun true {{path/to/directory}}", "clean_code": "dnf --duplicates --summary {{path/to/directory}}"}
{"question_id": "9114", "gold": "rdfind -makehardlinks true {{path/to/directory}}", "clean_code": "jdupes -L {{hardlink}} {{path/to/file_or_directory}}"}
{"question_id": "9115", "gold": "rdfind -makesymlinks true {{path/to/directory}}", "clean_code": "jdupes --link-soft {{path/to/file_or_directory}}"}
{"question_id": "9116", "gold": "rdfind -deleteduplicates true -ignoreempty false {{path/to/directory}}", "clean_code": "rdfind -deleteduplicates true --ignoreempty {{path/to/file1}} {{path/to/file2}}"}
{"question_id": "9119", "gold": "less {{source_file}}", "clean_code": "xpdf {{path/to/file.pdf}}"}
{"question_id": "9120", "gold": "<Space> (down), b (up)", "clean_code": "{{page_name|down|up}}"}
{"question_id": "9121", "gold": "G (end), g (start)", "clean_code": "promtool --end= {{end}} {{path/to/file}}"}
{"question_id": "9122", "gold": "/{{something}}", "clean_code": "fzf {{search_string}}"}
{"question_id": "9123", "gold": "?{{something}}", "clean_code": "fzf --backward {{search_string}}"}
{"question_id": "9124", "gold": "F", "clean_code": "fswatch {{path/to/file}}| xargs -n 1 {{bash_command}}"}
{"question_id": "9125", "gold": "v", "clean_code": "edit"}
{"question_id": "9126", "gold": "q", "clean_code": "jc"}
{"question_id": "9292", "gold": "mupdf {{filename}}", "clean_code": "xpdf {{path/to/file.pdf}}"}
{"question_id": "9293", "gold": "mupdf {{filename}} {{3}}", "clean_code": "xpdf {{path/to/file.pdf}}: {{3}}"}
{"question_id": "9294", "gold": "mupdf -p {{password}} {{filename}}", "clean_code": "xpdf -pw {{password}} {{path/to/file.pdf}}"}
{"question_id": "9295", "gold": "mupdf -r {{72}} {{filename}}", "clean_code": "mupdf -r {{72}} {{path/to/file.pdf}}"}
{"question_id": "9296", "gold": "mupdf -I {{filename}}", "clean_code": "mupdf -I {{path/to/file.pdf}}"}
{"question_id": "9297", "gold": "mupdf -C {{FF0000}}", "clean_code": "xpdf {{path/to/file.pdf}}-tinted #ff0000 {{path/to/file.pdf}}"}
{"question_id": "9298", "gold": "mupdf -A {{0}}", "clean_code": "pdftocairo -none {{path/to/file.pdf}}"}
{"question_id": "9304", "gold": "su", "clean_code": "pg_dump -S {{username}}--superuser= {{superuser}}--password"}
{"question_id": "9305", "gold": "su {{username}}", "clean_code": "tomb forge {{encrypted_directory.tomb.key}}-U {{username}}"}
{"question_id": "9306", "gold": "su - {{username}}", "clean_code": "youtube-dl --user= {{username}}--simulate"}
{"question_id": "9307", "gold": "su - {{username}} -c \"{{command}}\"", "clean_code": "doas -u {{user}} {{command}}"}
{"question_id": "9439", "gold": "meson init --language={{c}} --name={{myproject}} --version={{0.1}}", "clean_code": "crystal build {{path/to/file.cr}}--project-name {{name}}--project-version {{version}}"}
{"question_id": "9440", "gold": "meson setup {{build_dir}}", "clean_code": "cabal --builddir {{path/to/directory}}"}
{"question_id": "9441", "gold": "meson compile -C {{path/to/build_dir}}", "clean_code": "dotnet build"}
{"question_id": "9442", "gold": "meson --help", "clean_code": "snap help"}
{"question_id": "9443", "gold": "meson --version", "clean_code": "info --version"}
{"question_id": "9488", "gold": "gh workflow view", "clean_code": "git stash list"}
{"question_id": "9489", "gold": "gh workflow view {{id|workflow_name|filename.yml}} --web", "clean_code": "rofi -show {{workflow_name}}"}
{"question_id": "9490", "gold": "gh workflow view {{id|workflow_name|filename.yml}} --yaml", "clean_code": "gcloud {{workflow_name}}"}
{"question_id": "9491", "gold": "gh workflow view {{id|workflow_name|filename.yml}} --ref {{branch_or_tag_name}} --yaml", "clean_code": "salt ' {{git_branch}}/ {{tag}}'"}
{"question_id": "9492", "gold": "gh workflow list", "clean_code": "gh workflow list"}
{"question_id": "9493", "gold": "gh workflow run {{id|workflow_name|filename.yml}} --raw-field {{param1}}={{value1}} --raw-field {{param2}}={{value2}}", "clean_code": "sudo certbot run --manual {{workflow_name}}-- {{workflow_arguments}}"}
{"question_id": "9494", "gold": "echo '{{{\"param1\":\"value1\", \"param2\":\"value2\"}}}' | gh workflow run {{id|workflow_name|filename.yml}} --ref {{branch_or_tag_name}}", "clean_code": "git rev-parse {{workflow_name}}-s {{branch_or_tag}}-"}
{"question_id": "9495", "gold": "gh workflow {{enable|disable}} {{id|workflow_name|filename.yml}}", "clean_code": "gh workflow enable {{workflow_name}}"}
{"question_id": "9527", "gold": "gh help", "clean_code": "mediainfo --Help"}
{"question_id": "9528", "gold": "gh help --help", "clean_code": "gh help"}
{"question_id": "3740", "gold": "gh environment", "clean_code": "sc-im --help"}
{"question_id": "9530", "gold": "gh help reference", "clean_code": "pandoc --reference-links --syntax {{gh}}"}
{"question_id": "8077", "gold": "gh formatting", "clean_code": "gh api --jq '.[]'"}
{"question_id": "4737", "gold": "gh mintty", "clean_code": "gh run view --help"}
{"question_id": "9533", "gold": "gh help {{subcommand}}", "clean_code": "ceph {{subcommand}}help"}
{"question_id": "9534", "gold": "gh help {{pr}} {{create}}", "clean_code": "puppet help {{subcommand}}"}
{"question_id": "9548", "gold": "deluge {{url|magnet|path/to/file}}", "clean_code": "transmission-remote {{hostname}}"}
{"question_id": "9549", "gold": "deluge -c {{path/to/configuration_file}} {{url|magnet|path/to/file}}", "clean_code": "aria2c --configuration= {{path/to/file.torrent}}"}
{"question_id": "9550", "gold": "deluge -u {{gtk|web|console}} {{url|magnet|path/to/file}}", "clean_code": "lftp {{host}}: {{path/to/torrent}}-i {{interface}}"}
{"question_id": "9551", "gold": "deluge -l {{path/to/log_file}} {{url|magnet|path/to/file}}", "clean_code": "aria2c --follow-torrent= {{torrent_url}}-o {{path/to/file}}"}
{"question_id": "9586", "gold": "scp {{path/to/local_file}} {{remote_host}}:{{path/to/remote_file}}", "clean_code": "put {{/path/local_file}} {{remote_user}}@ {{remote_host}}"}
{"question_id": "9587", "gold": "scp -P {{port}} {{path/to/local_file}} {{remote_host}}:{{path/to/remote_file}}", "clean_code": "sudo openvpn --remote {{remote_host}}--rport {{port}}"}
{"question_id": "9588", "gold": "scp {{remote_host}}:{{path/to/remote_file}} {{path/to/local_directory}}", "clean_code": "get {{/path/remote_file}} {{path/local_directory}}"}
{"question_id": "9589", "gold": "scp -r {{remote_host}}:{{path/to/remote_directory}} {{path/to/local_directory}}", "clean_code": "get {{/path/remote_directory}}"}
{"question_id": "9590", "gold": "scp -3 {{host1}}:{{path/to/remote_file}} {{host2}}:{{path/to/remote_directory}}", "clean_code": "rsync {{remote_host}}: {{path/to/remote_file}} {{path/to/local_file}}"}
{"question_id": "9591", "gold": "scp {{path/to/local_file}} {{remote_username}}@{{remote_host}}:{{path/to/remote_directory}}", "clean_code": "sudo openvpn --username {{username}}"}
{"question_id": "9592", "gold": "scp -i {{~/.ssh/private_key}} {{local_file}} {{remote_host}}:{{/path/remote_file}}", "clean_code": "ssh -i {{~/.ssh/id_dsa_sk}} {{remote_host}}"}
{"question_id": "9605", "gold": "ls -lZ {{path/to/file}}", "clean_code": "nsenter {{path/to/file}}"}
{"question_id": "9606", "gold": "chcon --reference={{reference_file}} {{target_file}}", "clean_code": "chcon --reference= {{path/to/reference_file}} {{path/to/target_file}}"}
{"question_id": "9607", "gold": "chcon {{user}}:{{role}}:{{type}}:{{range/level}} {{filename}}", "clean_code": "install -Z {{path/to/file}}"}
{"question_id": "9608", "gold": "chcon -u {{user}} {{filename}}", "clean_code": "sudo crontab -u {{username}}-s"}
{"question_id": "9609", "gold": "chcon -r {{role}} {{filename}}", "clean_code": "sudo crontab -s -u {{user}}-n {{role}}"}
{"question_id": "9610", "gold": "chcon -t {{type}} {{filename}}", "clean_code": "dbus-daemon --type= {{selinux_context_type}} {{dbus_connection}}"}
{"question_id": "9611", "gold": "chcon -l {{range/level}} {{filename}}", "clean_code": "sudo crontab -s {{range}}/ {{level}}"}
{"question_id": "9882", "gold": "git var {{GIT_AUTHOR_IDENT|GIT_COMMITTER_IDENT|GIT_EDITOR|GIT_PAGER}}", "clean_code": "git var -l {{name}}"}
{"question_id": "9883", "gold": "git var -l", "clean_code": "git var -l"}
{"question_id": "9961", "gold": "hexyl {{path/to/file}}", "clean_code": "xxd {{path/to/file}}"}
{"question_id": "9962", "gold": "hexyl -n {{n}} {{path/to/file}}", "clean_code": "xxd -s 0x {{N}} {{path/to/file}}"}
{"question_id": "9963", "gold": "hexyl -r {{512}}:{{1024}} {{path/to/file}}", "clean_code": "tar csum {{target.tar.xz}} {{file1}} {{file2}}"}
{"question_id": "9964", "gold": "hexyl -r {{1024}}:+{{512}} {{path/to/file}}", "clean_code": "fdisk -s {{512}} {{1024}}"}
{"question_id": "9972", "gold": "ocamlopt -o {{path/to/binary}} {{path/to/source_file.ml}}", "clean_code": "crystal compile {{path/to/file.cr}}"}
{"question_id": "9973", "gold": "ocamlopt -g -o {{path/to/binary}} {{path/to/source_file.ml}}", "clean_code": "mono --debug {{path/to/file.ml}}"}
{"question_id": "10017", "gold": "echo \"{{url=http://example.com}}\" | git credential fill", "clean_code": "git credential"}
{"question_id": "10018", "gold": "echo \"{{url=http://example.com}}\" | git credential approve", "clean_code": "git credential"}
{"question_id": "10019", "gold": "echo \"{{url=http://example.com}}\" | git credential reject", "clean_code": "git credential erase {{username}}"}
{"question_id": "10151", "gold": "docker ps", "clean_code": "dockerd list"}
{"question_id": "10152", "gold": "docker ps -a", "clean_code": "docker-compose ps"}
{"question_id": "10153", "gold": "docker run --name {{container_name}} {{image}}", "clean_code": "ctr start {{image}}: {{name}}"}
{"question_id": "10154", "gold": "docker {{start|stop}} {{container_name}}", "clean_code": "docker-compose up {{container_name|ID}}"}
{"question_id": "10155", "gold": "docker pull {{image}}", "clean_code": "docker-compose pull {{image}}: {{tag}}"}
{"question_id": "10156", "gold": "docker exec -it {{container_name}} {{sh}}", "clean_code": "docker run ps {{container_name}}: {{sh}}"}
{"question_id": "10157", "gold": "docker rm {{container_name}}", "clean_code": "docker-compose rm {{container_name}}"}
{"question_id": "10158", "gold": "docker logs -f {{container_name}}", "clean_code": "docker logs {{container_name}}"}
{"question_id": "10240", "gold": "notmuch setup", "clean_code": "meson configure"}
{"question_id": "10241", "gold": "notmuch tag +{{custom_tag}} \"{{search_term}}\"", "clean_code": "aptitude add-user-tag \" {{tag}}\" {{search_term}}"}
{"question_id": "10242", "gold": "notmuch tag -{{custom_tag}} \"{{search_term}}\"", "clean_code": "aptitude remove {{tag}}? {{search_term}}"}
{"question_id": "10243", "gold": "notmuch count --output={{messages|threads}} \"{{search_term}}\"", "clean_code": "rg --count-matches \" {{search_term}}\""}
{"question_id": "10244", "gold": "notmuch search --format={{json|text}} --output={{summary|threads|messages|files|tags}} \"{{search_term}}\"", "clean_code": "find {{search_term}}"}
{"question_id": "10245", "gold": "notmuch search --format={{json|text}} --output={{summary|threads|messages|files|tags}} --limit={{X}} \"{{search_term}}\"", "clean_code": "fd --max-results {{x}}"}
{"question_id": "10246", "gold": "notmuch reply --format={{default|headers-only}} --reply-to={{sender|all}} \"{{search_term}}\"", "clean_code": "notmuch reply {{message_1}} {{message_2}}"}
{"question_id": "10247", "gold": "git mv {{path/to/file}} {{new/path/to/file}}", "clean_code": "hg add {{path/to/file}}"}
{"question_id": "10248", "gold": "git mv {{filename}} {{new_filename}}", "clean_code": "git format-patch {{path/to/file}}"}
{"question_id": "10249", "gold": "git mv --force {{file}} {{target}}", "clean_code": "jpegoptim --overwrite {{image.jpg}}> {{target_path}}"}
{"question_id": "10257", "gold": "eval $(ssh-agent)", "clean_code": "ssh-agent"}
{"question_id": "10258", "gold": "ssh-agent -k", "clean_code": "envoy --kill"}
{"question_id": "10322", "gold": "zdb", "clean_code": "zfs pool-status"}
{"question_id": "10323", "gold": "zdb -C {{poolname}}", "clean_code": "zpool {{pool_name}}"}
{"question_id": "10324", "gold": "zdb -b {{poolname}}", "clean_code": "zdb -b"}
{"question_id": "10478", "gold": "yacas", "clean_code": "yacas"}
{"question_id": "10479", "gold": "{{Integrate(x)Cos(x)}};", "clean_code": "yacas -e {{statement}}"}
{"question_id": "10480", "gold": "{{Example()}};", "clean_code": "{{example}}; do {{command}}; done"}
{"question_id": "10481", "gold": "{{quit}}", "clean_code": "'q' then 'y'"}
{"question_id": "10482", "gold": "yacas -p -c {{path/to/script1}} {{path/to/script2}}", "clean_code": "yacas -c {{path/to/script1.yacas}} {{path/to/script2.yacas}}"}
{"question_id": "10483", "gold": "echo \"{{Echo( Deriv(x)Cos(1/x) );}}\" | yacas -p -c /dev/stdin", "clean_code": "mysql -e \" {{statement}}\""}
{"question_id": "10539", "gold": "php artisan serve", "clean_code": "urxvt -v"}
{"question_id": "10540", "gold": "php artisan tinker", "clean_code": "php"}
{"question_id": "10541", "gold": "php artisan make:model {{ModelName}} --all", "clean_code": "virt-install --model {{model_name}}--migration {{factory}}--resource {{resource_controller}}"}
{"question_id": "7057", "gold": "php yii {{help}}", "clean_code": "dnf --available"}
{"question_id": "10587", "gold": "git rename-branch {{new_branch_name}}", "clean_code": "git branch --move {{old_branch_name}} {{new_branch_name}}"}
{"question_id": "10588", "gold": "git rename-branch {{old_branch_name}} {{new_branch_name}}", "clean_code": "git remote rename {{old_name}} {{new_name}}"}
{"question_id": "10637", "gold": "mlr --icsv --opprint cat {{example.csv}}", "clean_code": "in2csv -t {{data.csv}}"}
{"question_id": "10638", "gold": "echo '{\"hello\":\"world\"}' | mlr --ijson --opprint cat", "clean_code": "mosquitto_sub --json"}
{"question_id": "10639", "gold": "mlr --icsv --opprint sort -f {{field}} {{example.csv}}", "clean_code": "nm --numeric-sort {{symbol}}"}
{"question_id": "10640", "gold": "mlr --icsv --opprint sort -nr {{field}} {{example.csv}}", "clean_code": "mlr sort -r -f {{hostname}}-nr {{numerical_values}}"}
{"question_id": "10641", "gold": "mlr --icsv --ojson put '${{newField1}} = ${{oldFieldA}}/${{oldFieldB}}' {{example.csv}}", "clean_code": "ledger --convert-to-json --precision= {{precision}}--output-amount= {{amount}}"}
{"question_id": "10642", "gold": "echo '{\"hello\":\"world\", \"foo\":\"bar\"}' | mlr --ijson --ojson --jvstack cat", "clean_code": "mosquitto_sub --format= {{json}}"}
{"question_id": "10643", "gold": "mlr --prepipe 'gunzip' --csv filter -S '${{fieldName}} =~ \"{{regular_expression}}\"' {{example.csv.gz}}", "clean_code": "mlr filter ' {{data.csv}}'"}
{"question_id": "10720", "gold": "wget {{https://example.com/foo}}", "clean_code": "wget {{http://example.com/foo}}"}
{"question_id": "10721", "gold": "wget --output-document {{bar}} {{https://example.com/foo}}", "clean_code": "wget {{https://example.com/foo.html}}"}
{"question_id": "10722", "gold": "wget --page-requisites --convert-links --wait=3 {{https://example.com/somepage.html}}", "clean_code": "wget -r -x {{http://www.youtube.com/watch?v=Mwa0_nE9H7A}}-r -x {{http://www.youtube.com/watch?v=Mwa0_nE9H7A}}"}
{"question_id": "10723", "gold": "wget --mirror --no-parent {{https://example.com/somepath/}}", "clean_code": "virtualenv --download {{path/to/venv}}"}
{"question_id": "10724", "gold": "wget --limit-rate={{300k}} --tries={{100}} {{https://example.com/somepath/}}", "clean_code": "conky downspeed {{download_rate}}-r {{retries}}"}
{"question_id": "10725", "gold": "wget --user={{username}} --password={{password}} {{https://example.com}}", "clean_code": "wget --user= {{username}}--http-password= {{password}} {{url}}"}
{"question_id": "10726", "gold": "wget --continue {{https://example.com}}", "clean_code": "transmission-remote {{hostname}}"}
{"question_id": "10727", "gold": "wget --directory-prefix {{path/to/directory}} --input-file {{URLs.txt}}", "clean_code": "newsboat -i {{article.txt}}-w {{/path/to/download_directory}}"}
{"question_id": "10728", "gold": "cat {{index.html}} | pup --color", "clean_code": "pandoc --raw= {{html}} {{file.md}}"}
{"question_id": "10729", "gold": "cat {{index.html}} | pup '{{tag}}'", "clean_code": "pandoc --filter \" {{html}}\" {{source_file.html}}"}
{"question_id": "10730", "gold": "cat {{index.html}} | pup '{{div#id}}'", "clean_code": "pandoc --filter=\"html= {{id}}\""}
{"question_id": "10731", "gold": "cat {{index.html}} | pup '{{input[type=\"text\"]}}'", "clean_code": "circo --filter=\" {{html}}\" {{path/to/input.gv}}"}
{"question_id": "10732", "gold": "cat {{index.html}} | pup '{{div}} text{}'", "clean_code": "cat {{file.html}}| jq '.children[]'"}
{"question_id": "10733", "gold": "cat {{index.html}} | pup '{{div}} json{}'", "clean_code": "tree -p -T {{html}}-J {{path/to/file_or_directory}}"}
{"question_id": "10745", "gold": "tldr pio debug", "clean_code": "tldr clang"}
{"question_id": "10795", "gold": "elm init", "clean_code": "elm init"}
{"question_id": "10796", "gold": "elm repl", "clean_code": "elm"}
{"question_id": "10797", "gold": "elm make {{source}}", "clean_code": "elm -S {{elm_source.elm}}-o {{index.html}}"}
{"question_id": "10798", "gold": "elm make {{source}} --output={{destination}}.js", "clean_code": "mongo --eval ' {{import.path:app_object}}' {{path/to/file.elm}}"}
{"question_id": "10799", "gold": "elm reactor", "clean_code": "mono serve"}
{"question_id": "10800", "gold": "elm install {{author}}/{{package}}", "clean_code": "elm install"}
{"question_id": "10868", "gold": "ldapsearch -D '{{admin_DN}}' -w '{{password}}' -h {{ldap_host}} -b {{base_ou}} '{{memberOf=group1}}' displayName", "clean_code": "salt '*.example.com' --displayname= {{displayname}}"}
{"question_id": "10869", "gold": "ldapsearch -D '{{admin_DN}}' -y '{{password_file}}' -h {{ldap_host}} -b {{base_ou}} '{{memberOf=group1}}' displayName", "clean_code": "salt '*.example.com' -a ' {{user}}@ {{group}}'"}
{"question_id": "10870", "gold": "ldapsearch -D '{{admin_DN}}' -w '{{password}}' -h {{ldap_host}} -b {{base_ou}} '{{memberOf=group1}}' -z 5 displayName", "clean_code": "ps aux | sk --filter=\" {{search_term}}\" --count= {{5}}"}
{"question_id": "10871", "gold": "ldapsearch -D '{{admin_DN}}' -w '{{password}}' -h {{ldap_host}} -b {{base_ou}} '{{memberOf=group1}}' -l 7 displayName", "clean_code": "mtr -i {{7}} {{host}}"}
{"question_id": "10872", "gold": "ldapsearch -D '{{admin_DN}}' -w '{{password}}' -h {{ldap_host}} -b {{base_ou}} '(!(memberOf={{group1}}))' displayName", "clean_code": "calcurse --filter-invert"}
{"question_id": "10873", "gold": "ldapsearch -D '{{admin_DN}}' -w '{{password}}' -h {{ldap_host}} '(&({{memberOf=group1}})({{memberOf=group2}})({{memberOf=group3}}))' \"displayName\"", "clean_code": "mysql -c \"SELECT * from {{path/to/file.sql}}\""}
{"question_id": "10874", "gold": "ldapsearch -D '{{admin_DN}}' -w '{{password}}' -h {{ldap_host}} '(|({{memberOf=group1}})({{memberOf=group1}})({{memberOf=group3}}))' displayName", "clean_code": "unzip -n {{groups}} {{file.zip}}"}
{"question_id": "10875", "gold": "ldapsearch -D '{{admin_DN}}' -w '{{password}}' -h {{ldap_host}} '(&({{memberOf=group1}})({{memberOf=group2}})(!({{memberOf=group3}})))' displayName", "clean_code": "cat {{file.json}}| jq 'unique | sort | reverse'"}
{"question_id": "10907", "gold": "gh api --help", "clean_code": "ceph help"}
{"question_id": "10908", "gold": "gh api repos/:owner/:repo/releases", "clean_code": "gh api repos/{owner}}/ {{repo}}/releases"}
{"question_id": "10909", "gold": "gh api --header {{Accept:application/vnd.github.squirrel-girl-preview+json}} --raw-field '{{content=+1}}' {{repos/:owner/:repo/issues/123/reactions}}", "clean_code": "cuyo reaction {{issue_number}}"}
{"question_id": "10910", "gold": "gh api graphql --field {{name=':repo'}} --raw-field '{{query}}'", "clean_code": "gh api graphql --format= {{json}}"}
{"question_id": "10911", "gold": "gh api --method {{POST}} {{endpoint}}", "clean_code": "goaccess {{path/to/request_file}}--http-method= {{yes|no}}"}
{"question_id": "10912", "gold": "gh api --include {{endpoint}}", "clean_code": "http -04 -h {{host}}: {{path/to/file}}"}
{"question_id": "10913", "gold": "gh api --silent {{endpoint}}", "clean_code": "xh --print=n"}
{"question_id": "10914", "gold": "gh api --hostname {{github.example.com}} {{endpoint}}", "clean_code": "gist --protocol= {{github}}--server= {{enterprise_server}} {{http://example.com/users/1234}}"}
{"question_id": "10915", "gold": "docker images", "clean_code": "docker images ls"}
{"question_id": "10916", "gold": "docker images --all", "clean_code": "ctr image ls --intermediates"}
{"question_id": "10917", "gold": "docker images --quiet", "clean_code": "strace -q {{pid}}"}
{"question_id": "10918", "gold": "docker images --filter dangling=true", "clean_code": "dockerd --list"}
{"question_id": "10919", "gold": "docker images \"{{*name*}}\"", "clean_code": "exiftool \"-name= {{name}}\" {{path/to/image1}} {{path/to/image2}}"}
{"question_id": "11031", "gold": "deluge-console", "clean_code": "gimp"}
{"question_id": "11032", "gold": "connect {{hostname}}:{{port}}", "clean_code": "deluge-console --daemon= {{ip_address}}"}
{"question_id": "11033", "gold": "add {{url|magnet|path/to/file}}", "clean_code": "transmission-remote {{hostname}}-t {{torrent}}"}
{"question_id": "11034", "gold": "info", "clean_code": "rtorrent -a"}
{"question_id": "11035", "gold": "info {{torrent_id}}", "clean_code": "aria2c {{url_1}} {{url_2}}"}
{"question_id": "11036", "gold": "pause {{torrent_id}}", "clean_code": "deluge-console pause {{torrent_id}}"}
{"question_id": "11037", "gold": "resume {{torrent_id}}", "clean_code": "aria2c resume-torrent {{url_1}} {{url_2}}"}
{"question_id": "11038", "gold": "rm {{torrent_id}}", "clean_code": "transmission-remote {{hostname}}-r {{torrent}}"}
{"question_id": "11065", "gold": "git update-ref -d {{HEAD}}", "clean_code": "git reset --soft {{ref_name}}"}
{"question_id": "11066", "gold": "git update-ref -m {{message}} {{HEAD}} {{4e95e05}}", "clean_code": "git update-ref {{ref}} {{message}}"}
{"question_id": "11119", "gold": "ogrinfo {{input}}.gpkg", "clean_code": "ogr2ogr -list {{path/to/source.gml}}"}
{"question_id": "11120", "gold": "ogrinfo {{input}}.gpkg {{layer_name}}", "clean_code": "ogr2ogr -source {{source.gml}}-layer {{layer_name}}"}
{"question_id": "11121", "gold": "ogrinfo -so {{input}}.gpkg {{layer_name}}", "clean_code": "ogr2ogr -write {{path/to/file.ogr}}-lco {{layer_name}}"}
{"question_id": "9530", "gold": "gh help reference", "clean_code": "pandoc --reference-links --syntax {{gh}}"}
{"question_id": "11208", "gold": "mutt -f {{mailbox}}", "clean_code": "mutt -f {{mailbox}}"}
{"question_id": "11209", "gold": "mutt -s {{subject}} -c {{cc@example.com}} {{recipient@example.com}}", "clean_code": "git send-email --subject=\" {{subject}}\" --cc=\" {{cc@example.com}}\""}
{"question_id": "11210", "gold": "mutt -a {{file1}} {{file2}} -- {{recipient@example.com}}", "clean_code": "reportbug --output= {{path/to/file.txt}} {{package_name}}"}
{"question_id": "11211", "gold": "mutt -i {{file}} {{recipient@example.com}}", "clean_code": "reportbug --include= {{path/to/file}} {{package}}"}
{"question_id": "11212", "gold": "mutt -H {{file}} {{recipient@example.com}}", "clean_code": "mutt -H {{draft}}-s {{subject}}-b {{body}}"}
{"question_id": "11233", "gold": "asdf plugin-list-all", "clean_code": "yum list"}
{"question_id": "11234", "gold": "asdf plugin-add {{name}}", "clean_code": "tox install {{plugin_name}}"}
{"question_id": "11235", "gold": "asdf list-all {{name}}", "clean_code": "dnf list --all {{package_name}}"}
{"question_id": "11236", "gold": "asdf install {{name}} {{version}}", "clean_code": "dnf install {{package_name}}== {{package_version}}"}
{"question_id": "11237", "gold": "asdf global {{name}} {{version}}", "clean_code": "sudo zypper --type {{Job}}--global {{package_name}}= {{version}}"}
{"question_id": "11238", "gold": "asdf local {{name}} {{version}}", "clean_code": "sudo tlmgr update {{package_name}}== {{package_version}}"}
{"question_id": "11457", "gold": "codespell", "clean_code": "linkchecker --recursive"}
{"question_id": "11458", "gold": "codespell --write-changes", "clean_code": "i3 inplace"}
{"question_id": "11459", "gold": "codespell --skip \"{{pattern}}\"", "clean_code": "tar skip --anchored {{pattern}} {{file1}} {{file2}}"}
{"question_id": "11460", "gold": "codespell --dictionary {{path/to/file.txt}}", "clean_code": "codespell --dictionary= {{path/to/dictionary.txt}} {{path/to/file.txt}}"}
{"question_id": "11461", "gold": "codespell --ignore-words {{path/to/file.txt}}", "clean_code": "pacman --files {{path/to/package.pkg.tar.zst}}"}
{"question_id": "11462", "gold": "codespell --ignore-words-list {{words,to,ignore}}", "clean_code": "aspell --dont-check-words"}
{"question_id": "11463", "gold": "codespell --{{context|before-context|after-context}} {{3}}", "clean_code": "rg -C {{context|before-context|after-context}}\" {{search_pattern}}\" {{path/to/file}}"}
{"question_id": "11464", "gold": "codespell --check-filenames", "clean_code": "git config --file {{path/to/file1}} {{path/to/file2}}"}
{"question_id": "11480", "gold": "timidity {{path/to/file.mid}}", "clean_code": "timidity {{path/to/file}}"}
{"question_id": "11481", "gold": "timidity --loop {{path/to/file.mid}}", "clean_code": "timidity --loop {{path/to/file}}"}
{"question_id": "11482", "gold": "timidity --force-keysig={{-flats|+sharps}} {{path/to/file.mid}}", "clean_code": "timidity -H {{key}} {{path/to/midi_file}}"}
{"question_id": "11483", "gold": "timidity --output-mode={{w}} --output-file={{path/to/file.wav}} {{path/to/file.mid}}", "clean_code": "timidity -M {{path/to/file.mid}}-o {{path/to/output.wav}}"}
{"question_id": "11484", "gold": "timidity --output-mode={{F}} --output-file={{path/to/file.flac}} {{path/to/file.mid}}", "clean_code": "timidity {{path/to/midi/file.midi}}-OF {{flac}}"}
{"question_id": "11513", "gold": "wasm2c {{file.wasm}}", "clean_code": "unix2mac {{path/to/input_file}} {{path/to/output_file}}"}
{"question_id": "11514", "gold": "wasm2c {{file.wasm}} -o {{file.c}}", "clean_code": "ranger --output= {{path/to/file.h}} {{pattern}}"}
{"question_id": "11706", "gold": "mp4box -info {{filename}}", "clean_code": "youtube-dl {{file.mp4}}"}
{"question_id": "11707", "gold": "mp4box -add {{input_subs.srt}}:lang=eng -add {{input.mp4}} {{output.mp4}}", "clean_code": "mp4box -add {{path/to/file.srt}} {{path/to/file.mp4}}"}
{"question_id": "11708", "gold": "mp4box -add {{input1.mp4}}#audio -add {{input2.mp4}}#video {{output.mp4}}", "clean_code": "youtube-dl --extract-audio --output-file {{audiofile.mp4}}-o {{output_file.video}}"}
{"question_id": "11762", "gold": "mingle {{path/to/layout1.gv}} {{path/to/layout2.gv ...}} > {{path/to/output.gv}}", "clean_code": "circo {{path/to/layout1.gv}} {{path/to/layout2.gv...}}> {{path/to/output.gv}}"}
{"question_id": "11763", "gold": "dot {{path/to/input.gv}} | mingle | dot -T {{png}} > {{path/to/output.png}}", "clean_code": "mingle -T {{png}}-s {{command}}-o {{path/to/output.png}}"}
{"question_id": "11764", "gold": "mingle -?", "clean_code": "mingle -?"}
{"question_id": "11773", "gold": "lpass login {{username}}", "clean_code": "lpass"}
{"question_id": "11774", "gold": "lpass status", "clean_code": "john --show {{login}}"}
{"question_id": "11775", "gold": "lpass ls", "clean_code": "samtools group {{category}}"}
{"question_id": "11776", "gold": "lpass generate --username {{username}} --url {{gmail.com}} {{myinbox}} {{password_length}}", "clean_code": "lpass generate {{gmail.com}} {{myinbox}}"}
{"question_id": "11777", "gold": "lpass show {{myinbox}} --password", "clean_code": "keepassxc-cli show {{database_name}} {{entry}}"}
{"question_id": "11882", "gold": "bastet", "clean_code": "bastet"}
{"question_id": "11883", "gold": "{{Left|Right}} arrow key", "clean_code": "{{Up|Down|Left|Right}}arrow key"}
{"question_id": "11884", "gold": "{{Spacebar|Up arrow key}}", "clean_code": "imgp -o {{90|180}} {{path/to/file}}"}
{"question_id": "11885", "gold": "Down arrow key", "clean_code": "aria2c --show-piece {{url|magnet|path/to/file}}"}
{"question_id": "11886", "gold": "Enter", "clean_code": "{{S|Down arrow key}}"}
{"question_id": "11887", "gold": "p", "clean_code": "Spacebar"}
{"question_id": "11888", "gold": "Ctrl + C", "clean_code": "q"}
{"question_id": "11906", "gold": "cowsay \"{{hello, world}}\"", "clean_code": "cowsay {{hello, world}}"}
{"question_id": "11907", "gold": "echo \"{{hello, world}}\" | cowsay", "clean_code": "{{example.com}}| cowsay -s"}
{"question_id": "11908", "gold": "cowsay -l", "clean_code": "ssh art list"}
{"question_id": "11909", "gold": "cowsay -f {{art}} \"{{hello, world}}\"", "clean_code": "ranger {{art}}"}
{"question_id": "11910", "gold": "cowthink -d \"{{I'm just a cow, not a great thinker...}}\"", "clean_code": "cowsay -d"}
{"question_id": "11911", "gold": "cowsay -e {{characters}} \"{{hello, world}}\"", "clean_code": "cowsay -e {{\"Hello, World\"}} {{path/to/cowfile}}"}