benchmarks.wiki / Public workspace
....··:=+*#%@@@@@@@@@@@@@@%#*+=-:·....··:-==+++*****##%@@@@@@@@%*=-··....·:-=*#%@@@@%#+=-:·. ....·····....
...·:--=++*******++++===--:···.......··::::----==++****@@@%#+=:·.. ..·:-=+*#%%%#*+=-:·... ....·········....
..····:::::········........ ......·······::++%##*=-:·.. .·:-=++****++=-:··.......····::::::···....
··--++==-:·.. ..·:-==++++==-::··....····:::-----::···...
..::---::··.. ..··:---==---::········::----==----::··...
.·:::::··.. ..··:::---::::·····:::--===++====--:···..
..:::::··.. ..···:::::::···:::--==+++***+++==-::··...
..::--::·.. ..··········::::-==++**###***+==-::···..
.·--=--:··. ....·······:::--=++*##%%%%##*+==-::···..
.···:···.. ...... ·:=++==-:·.. ....·····:::--=+*##%@@@@%##*+==-::····.
..... .:-=+++=-:·.....··::::··. ..·:-***+=-:·.. ....·····::-==+*#%@@@@@@%#*+==-::·····..
...··.. .:=*%@@%#*=-:··::-=++++=:· .:=+*###*+=-:·.. .....····::--=+*#%@@@@@@@%#*+=-::···::··.
..··::--===+++++++*#%@@@@@@@@%*+-··....·:------::···:-=*%@@@@@@@@%*=:·.. ..·:-=*#%@@@@@@%#**+==---::···..
....··:::::::::---==++***++=-:·.......·······......·:-=+**@@@@%#+-:·. .·:-=+##%%%%%##*++==---:::··...
.............········.... .... ....··++@@%#+=-·.. .·:-=+*######**+===---::::··...
.·==**+=-:·. ..·:-=++*****++===---::::::···..
..::==-:··. ..·:--==++++===---::::::::::··... ....
··::···.. ..·::--====---:::::::::::::::···...........
..···.... ..··:::----::::······::::----:::····...···..
..·...... ...···::::::··········::---===---::::······..
..···...........·········........··:--==++++==--::::·····.
.... ..·····........······.. ..·······.......·······.... ..·::-=++****++==--:::····.
.·····. .·:-====-::····:--=+++=-:·. ...:::::·············.... ..·:-=+*#####**+=--::·····.
..·:---:. .:=*#%%%#+=-:::-=+#%@@@%#+-:. ..·::----::::·········.... ..:-=+*%%@@%%#*+=-::······.
..·:-=+***+=-:····:-=*%@@@@@%*=:·....·::-===-:·. .·-+#@@@@@@@@%*+=-:···::--=++*####%%%%%@@@@@@@@%#*+=-·.
..·::----:··.....··:-====--:·. ..··::::··. .·:-=+@@@@@%#*=-:······::-=++**####%%%%@@@@@@@@%#*=-:.
......... ........ ........ ..·=+@@@%#*+-:··....··::-==+***#####%%%@@@@@@%#*+-:·.
.·==##**+=-:·.......·::-==++*****###%%%@@@@%#*+=-·.
..--++=--:·.. ...·::-===+++++****##%%%%%##*=-:·.
....::--::·.. ..··::--=====+++++***#####**+=-·. ...
..··:··.. ..··::----=========++******+=-:·.. .....
..... ..··::-------:::---===+++++==-:··......····.
. . ..··::::::::::····:::--==+++==-::···········.
....... ...···........····::····... ..··::::::::··......··:--=======--::::::::···.
.··::::·.. .·:-====--::···::-=++***++=-:··.. ..···::::::··.. ..·:--=+++++==-----:::··..
.·:-====-··..·:-+#%@@@%#+=-::::-+*%@@@@@@%*+=:··... ..··:::::::··. .·:-=++****++==---::···..
.·:-+*#%#+=:·. .·:=+***+=:· .·-=+++=-:. .·-=*#%@@@@@%%##**********+++======++*#%@@@@@@@@@@#+=:.
..·:-===-:·. ..·::::·.. .·:----:·. .·:-*%%@@@%%##***+++++++++++=======+*#%@@@@@@@@@@%*=-·.
..····.. ... ..····... ..:-##%%%##***++++++++++++========++*#@@@@@@@@@@@#+-·.
..--#####**++===============----==+*#%@@@@@@@@@@%*=:.
..--****++==--------======-------=+*#%@@@@@@@@@%*=:.
....--+++==--:::::::---------------==+#%@@@@@@@@%*=:·. ....
....-:==--:::······:::-------:::::--=+*#@@@@@@@%*=-·. ...·..
..::--::··.....···:::----::::::::--=+*#%@@@%#*=-:·.....·····.
..:·::··........···::::::::······::-=+**##**+=-:··..··::::··.
.................·····......··············............····.. ..··:::::::···....··:--==++==--::···::----:·..
.··::::::···::--=++++==--::::::--===+++====-------::::···... ..··::::::···... ...·::------:::::--===--:·.
.·:--===----=+#%@@@@@@%#+=-----==+*##%%%%###***++++===-::·.. ..·:::-:::··. ..··::::-----===+==-:·..
.·-+*#%#+-:·. .··--==-:·. .·-=++++=:·. ..··:---==++**#%@@@@@@@@%#*+=--::::--=*#%@@@@@@@@%#+-:·..
.·:-===-:·.. ..··:::·.. .·:-----:·. ..·::--==++**#%%@@@@@@@@%#*+=-:::::-=*#@@@@@@@@@@%*=:·..
..····.. ...... ..·····... ..:---===++**#%%@@@@@@@%#*+=-:::::-=+#@@@@@@@@@@@#+-·..
··---====++**#%%@@@@@@%%#+=-::··::-=*%@@@@@@@@@@#+-:..
.··-======++**##%@@@@@%%#*=-::···::=+#@@@@@@@@@@#+-:........
....::========++**#%%%@%%##*+-::····:-=*%@@@@@@@@@*=-·.........
....::=========++**##%%%#**+=-:·...·:-=*%@@@@@@@#+-:·....·····.
..--===-----===+***###*+==-:·....··-=*#%@@@%#+=:·....··::::·.
··--===-------==++***++=--:·......·:-+**#**+-:·.....·:----:·.
........·····························......·········--==--::::::--==+++==--:·.. ..·::-===-::·.. .·:-=+==-·.
..····::::--==++++++====---=========----------=========--=--:······::--====--:·.. ..·······.. ..·:=+**+=:·.
.····:::--=+#%@@@@@@@%%#*************++++++***##%%%%%%#**+=-:··....···:------::·.. .... .·:-=*##*=-:.
.:-++*+=-:···:-=++*++-:. .·::----::··...... ..·:-=+*#%@@@%%#*+=-:::::--=+#%@@@@@@@@@#*+-:·..
..·:---:··..··:--===-:·. .··::::···.... .··-=+*%@@@@@@%#*+=-::·::-=+*%@@@@@@@@@@#*=-:·.
........ ...······.. .......... .·:-+*#@@@@@@@%#*=-::··::-=*%@@@@@@@@@@%*=-:·..
.··-=*#%@@@@@@@%*+=::···::=+#@@@@@@@@@@#*=-:··..
..·:-+*%@@@@@@@@#*=-:·..·:-=*%@@@@@@@@#+=-:····...
.... ..·:-=*#@@@@@@@@%*=-:·...·:-+*%@@@@@%*+-:········..
.. ..........·:-+*%@@@@@@@%*=-:·....·:-+*%%%%#+=:·....··:::··.
..·.·......·:-=+#%@@@@@@%*+-:.. ..·:=+***+=-:. .·:---:·.
..··:···.···:-=+#%@@@@@#*=-·.. ..·:-===-:·. .:-===-:·.
....········......·····::::::····................:·::·····::-=+*#%%%%#*=-·.. .··::::·. .:=+*+=-:.
..···::-----------====+++***+++==--:::::::----==---::-:::···::-=+**###*+=-·.. ..·····. .:+###*=-·.
...··:-=++**########%%@@@@@@@%%#**+======++**######**+=-:::·:::-==++*++=--:·.. ....·.. ·-+#%%#+=:·.
.·:--=------=+*#%%%%#+=:·. ........···::::::··.. .·:-=++***++==-:::::--==+**####%%@@@%#*+=-:.
..·::::····::-=++**++=-:·. ........······.... .·:-=+*###**+=--::::--==+**##%%@@@@@%#*+=:·.
....... ...··::::::··.. ...... ... .·-=+*#%%%#**+=-::::--==+*##%%%@@@@@#*+-:·.
. ... .:-+*%%@@%%#*+=-:::::-==+*###%###**+==-:·..
. .. .·-=*%@@@@@%*+=-:···::-=++*****+==--:::···..
... . .:=*#@@@@@%#*=-:····::-=++++==-:·.....·····..
... . .·-+#@@@@@@#*=-:·..··::-===--:·. .··::·..
.... .·-+*%@@@@@#*=-··...··:----:·. .·:--:··.
..... ·:=*#@@@@%#+=:·....··:---:·. .:-===-:·.
...................···········..........···....·.. .·:=+#%@@%%*+-:·....··:---:·. .:=+*+=-·.
..··::::········::--==+++++++==--::::::--------::···. .·:-+*#%%##+=-··....·::---:· ·-+###*=:·.
.···:::::::::::-==+*#%@@@@@@@%#**++====++***##**+==-:·....··:-=+*##**=-:·....··:--=-:·. .:=*%@%#+-:·.
.··::-----==+*#%%@@@%%#*++==--:::··.. ..·:---==--::·........·:--==++==--::::::--==+++==----==*#@%#*+=-:.
..···:::···::-==++**+++==--::····... ..··::::-::·.. .··:-======-------========-----=+*#%%#*+-:.
............···::::::···...... .....::-:·. .·::-=================----::--==+***+=:·..
..:::·.. .·:-=++++++=======-----:::::::-----:··..
..:·:·. .:-=++***++===-------::::····..........
....:·:. .·:=+*****+==---------::··.. ....
··..:··. ·:=+**#**+==--:::-----:··. ......
·.:··. ·:=+*##**+=-:::::---=--:· .·····..
·.:·· .·-=+*##*+=-::··::-====-:·. .·:--::·..
......... ............ ....······.:·· .:-+*##**+=::···::-=+++=-:. ·:====-:·..
..······..........··:::--::::···....···:--=====--:··. .·-=+*##*+=-:·..··:=+****=-· ·:=+#**=-:·..
..··::::··........·:--=++***++==-:::::--=+*##%%%#*+=-·... ..·:=+*###*+-:·....·-=*#%%#+=:. ·:=*#%%#*=-:·.
..··::-===+++**######******###%%%%##*+=-:·.. .··:--====--:···...··:--=+++==-::·····:-=+***+=-:·....·:=*##*+-:.
..··::::-:------============++++++==-::·.. ..··::::--::··......··:::::::······:-=+****+=-:·. ..·-=+++=-·.
............················::····... ....::--:··.. ...·····..··::-=+****+=-:·.. ..··:---:·..
..::--:·. .....··:--=+****+=-:·.......·····.
..::-:··. ..··::-==++***+=--:·..........
....::-:·. ..··:--==+++++++=--:··..
....-:-:·. ..·::----====+++++==-::·.
··-:-:. .·:---------===+++++==-:·. ......
··-:-·. .·:--====--:::--=++****+=-·. ..······...
...... .......·····... ...·····-:-·. .·:-=++++=-::··::-+*####*+=:·. ..·:----::··..
..······.......···::-----::·.. .·:-===+==-::·.....·:-=**##*+=-:·..·:-=*#%%%#*+-:·...··:-=++*+=-::·..
..·:::::···.....··::-==++++=-::·. .·:=+*#%%%#*+=-:···:-=+#%@@%#*=:·....·:=*#%@@%#+=-:···:-=+*#%%#*+=::·..
.··::-=+*##%%%%%##*++======+*##%@@@@%%#*+=-::···::-==+*****+=-:··....··:-====-:·. .·:=*#%##+=:. .·-===-:·.
..··::-===++++===---::::::--=++*****++=--:··......··::----:=-:··.....··:::::·.. ·:=*#%%#*=:·. .·:-=--:·.
....···········.........···:::::::::··... ......::--:··.......··... ·:=*#%%#*=-·.. ..·::--:·.
..::-::··........ .·-=*#%%#*+-:·....··::::·.
..:·-::··... .·-=*####*+=-::····:::::·.
....:·-::··... .·:-=+*###*++=--::::::::··.
....::-::··... ..··:-=++*****++===-----:::·..
..::--:··.........····:::--===++*****+++===---:::··..
..-:=-::······::---===-------==++*****+++===---:::···..
...··::::::::··.. ...···-:=-::::::-=+*****++=--:::--=++*****++====-------::···....
................··:-=++*****+=-:·. ..·:--==--:=--:--=+*%@@@@%#*=-:···::-=+**#**++========++++==-::··...
.········......·::=+*#%@@@@%#*=-·. .:-=**##**+==--==*#@@@@@@@%*=-··..··:=+*****+===--==+**####**+--:··..
..··:-+*#%@@@@@@%#*+=------==++****++=-:··.....·:-=+##%%%#*+=-:·...··:--==-:· .:=+###*+-:·....··:-==-:·.
..·:-=++*****++==-::····:::--======--::·......··::--====-+-:··...··::---:·. .:=*#%##+=:··..··:-=++=-·.
...··::::::::···..........·····:·····... .....····-:-:··...··::--:·. .:+*%%%#*=-:···::-=++++-:.
..:·:·······::--:·. ·-+#%%%#*=-::::--=+***+=:·
..········::---::·. .:=*#%%%#*+=----==+*###*+-·.
... ..····::-----:·.. .:-+*####*++=---==+*####*+=:.
..::::---===--:··...··:-=+*###**+==--==+**#%%%#*=-·.
··::--=========------==++****++===--==+**#%%%#*+=:·.
..··---==+++*************+++++===----===+**#####*+-:·.
...·····.... ..··::::::::::··... .....::--==++*#%%@@@@@%%#**++===---------==+**####**+=:·..
..··::---::··... ..·:-=+********+=-:·.. ...···::::::-===+*%@@@@@@@@@#*+=---:::::-------==+***##**+=-:·..
..·:-=====-::·.. ..·:=*#@@@@@@@@%#+-:·.....·::-=====-----=+*%@@@@@@@@@#*=-:::::::::::::::--==+******++=-:··....
..··-=+*##%%##*++=--:::--==++***+=-:·. .:-+*###**+-::····:-=+++=-·. .·-=++++=--::::-==+++=-:·..
..·:-==++++++=--::·····:::-------:··. .·::-===--=-:·····:-=+++=-·. .:=+***+=--:::-=+**###+=:·.
..··::::::····..........·······... ...····.:::··..··:=+***+-:. .:-+*##**+=-::-==*#%%%%#+=:·.
..·.·...··-=+*#**=:· .·-+##%##*==-:--=+*#@@@@@%+-·.
.......·:-=*###*+-:. .:-+#%%%%#+=--::-=+*%@@@@@@#+-·.
.. ..·:-=*####*+-:·..··:=+#%@@@%*+=-:::--+*%@@@@@@%*=:.
. .·:-=*##%##*+=----=+*#%@@@%#*+-::··:-=*#@@@@@@@#+-·.
.·:-=+*#%%##**+++**#%@@@@@%#+=-:····:-+*%@@@@@@%*=:·
..:-=+*##%%%%####%%@@@@@@%#*=-:··..··:=+#%@@@@@%#+=:.
..··:::::::··... ...··:::::::::::···....... .·:-=+**#%%%@@@@@@@@@@@%#*+=:··....··-=+#%@@@@%#*=-·.
.·:-=+*****+=-::·......·::-=+*******++=--:::·······.....·:-==+*#%@@@@@@@@@%%#**+=-:·... ..··:=+*#%%%%#*+=:·.
.·:-+#%@@@@@%*+-:·.....·:-+*%@@@@@@@%#*+=---::-----::::···::-=+*#%@@@@@@%##*++=--:··.. ..·:-=+*####*+=-:·.
..·:--==++==-::·... ..·:-=+**#**+=-·. .:-==+==--::··::-=+*##*+=:· .·:--------==++**##**+-:·..
..·::----::··.... ...··:--====--:·.. .··:----:::·····:-=*#%%#*+-·. .·:-=+++===---==+*##%%%#*=-:·.
...·····.... ...·······... ...·····.:··....·-=*#%%%#+=:. .·-=+****+==----=+*#%@@@@%#+-:·.
..·.. .·:=*#@@@%*=-·....·:=+#%%%%#*+=-----=*#%@@@@@@#+=:·..
. . .·:=*#@@@%*+-:···:-+*%@@@@@%*+=-:::-=+*%@@@@@@@#+=:·.
.. .:=+#%@%%#+=--:-=+#%@@@@@@%#+-:···:-=+#%@@@@@@@#+-:·.
. .:-+*#%%#*+==-==+#@@@@@@@@%*+-:·..·:-=*#@@@@@@@@#+-:·.
.·-=+*##**++==++#%@@@@@@@@%*=:·....·:-=*%@@@@@@@@#+-·..
.·:-=+**+++===+*#%@@@@@@@@%*=:·. .·:-+*%@@@@@@@%*=:·..
..·:::::::···..........·········::::::::··... ..:--=========+*#%@@@@@@@%#+-:. .·:-+*%@@@@@@%#+-:·.
.·:-+******++=-::······::---=============--::··........::-------==++*#%@@@@@%#*=-·. .·:-+*%@@@@@%#*=-:·.
.·:=#@@@@@@@%#*=--:::::--=++*******+++++===---::········:::::-----==++*#####**+-:·. .·:-+*#%%@%%#*+=:·..
.··-=**#####*=-:·. .·:=++***+=-:·. ..·::--==--:::·::--=+*####*+=-:·········:::::::--=++*##%%##*=-··.
..·::--===--:·.. ..·:---=--::·.......··:------:·:····:-=+*#%%#*+=-::··:::--=====-----==+*##%%%%#*+-:·..
...····.... ...·····.... ...···:::··.:··...·:-+*#%%##+=-::::--=+**##**++=====++*##%%%%##+=-:·..
·.·....·:-=*##%#*+=-:::-=+*#%@@@@%#*+======+*##%%%%%#*=-:·..
. . .·:=+*##*+=--:::-=*#@@@@@@@%#*+=---==+*#%%@@@%%*+=-:·..
·. .·:=+***++=-::::-+#%@@@@@@@@%*+=--:--=+*#%%@@@@%#+=-:·..
. .·:-=+++==-:···:-+#@@@@@@@@@%#+=-::::-=+*#%%@@@@@#*=-:··.
·:-====--:····:-+#@@@@@@@@@@#+-:····::-=*#%%@@@@@#*+=::·.
.:--==--:·....·:=*%@@@@@@@@%#+-:·...··:-=+#%%@@@@@%*+=-:·.
....·····......····...........···::::··.. .·-----:·.....·:-+#@@@@@@@@%*=-··.....·:-=+*#%@@@@@%*+=-:·.
.·::---------------::::········:---=---:··.. ...··---::·.. ..·:=+#@@@@@@@#+=:·.. .·:-=+*#%@@@@@#*+=-:·.
.·-=+**###***++++====---::····:::------::··...··::-----:··.. ..·:=+#%@@@%#*+-:·. .·:-=+*#%%%%%%#*+-::·.
.·:=*%@@@@@@@@@#*=:·. ..·::--==----::::--==+++**+++====-=====++++++++++++++++==-::··...··:-=+*#%%%%#*=-·..
.·:-+*******+=-:·.. ..··::::::······::--=++++++=--=------===++++======+++++++==--:::::-==+*#%%%%%#*=-:..
..··::::::··.. ................··:::::::··-:-::::--=======-----==+******++===--==++*##%%%%%#*=-:·.
·.:·:··::--====--:::::-=+*##%%%%#**+++++++*##%%%%%##*=-:·..
....···:--===-::·····:-=+#%@@@@@%%#**++++**##%%%%%##*=-:·...
·. . .·::--=--:·.....·:-+*%@@@@@@@%%#**++***###%%%##**+-::·..
. ·::-=--:·.. .·:=*%@@@@@@@@@%#**+++***#######**+=-:··..
.:--==-:·. .·-+#@@@@@@@@@%#**+++++***#####***+=-::··.
.·-===-:·. ·:=*%@@@@@@@@%#**++===+++*********+=--::·.
....·······.. ...···.. ·:++==:·. .·-+#@@@@@@@@%#*++=======++********++=--:·..
.....··::--=====-:·.. ..··::··.. .·::-++=-:. .·:=*%@@@@@@@%#*+==-----===++++*****++==-::·.
...··::--=+*####*+=-:.. ...····.. ..:-=+***+=-·. .:-+*%@@@@@%#*++=--::::---==+++++***+++=--:·.
.·:=*%@@@@@@@@@@@%*+==--::::::·····:::--=+**####%%%%%%%%%%##*+=--:::::-==+*#%%%##+=-:·. ..·:-=+++*++=-:·..
.·:=+*********+==-::··················::--=++*******++%#**+==-:::···::-=++*###**+=-:··....··:--=+*****+=-:·..
..··::::::::···................ ....··::::::::::==*++==--::······::-==+****++=--::···::--=++**##**+=-:·..
··-:=----:::···....··:--=++++++==---::---=++*######**=-:·..
..··:::::::··... ...·:--=++++++========++**##%%%##*+=-:·..
.. ..·::::::··. ..·:-=++***++++++++***##%%%%%##*+=-:·...
..::---::·. .·:-=+************###%%%%%%%#**+=-:··..
.·--==-:·. .·:-=+**###########%%%@@@%%##*++=-:··...
·:=++=-:·. .·:-=+**##########%%%%@@@%%%#**+=--::··..
..··:::··.. .... .:-***+-:·. .·:-=+*#########%%%%%@@@%%%#**+==--:::··..
.·:-=++++=:·. ..···.. .·:-=##*+-:. .·:-=+**###%%%%%%%%%%%%%%%##**+===--::::··.
.·:=*#%@@%*+-·.. ..··::·.. .:=+#%%%#*+-·. .·:-=+*#########%%%%%%%%%##*++==------:::·.
███████╗ ██████╗██╗ ██████╗ ██████╗ ██████╗ ███████╗
██╔════╝██╔════╝██║██╔════╝██╔═══██╗██╔══██╗██╔════╝
███████╗██║ ██║██║ ██║ ██║██║ ██║█████╗
╚════██║██║ ██║██║ ██║ ██║██║ ██║██╔══╝
███████║╚██████╗██║╚██████╗╚██████╔╝██████╔╝███████╗
╚══════╝ ╚═════╝╚═╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝$ open /benchmarks/scicode/tasks/dev--69e335f0-d1ca-5a8…▌ posts · files
SciCode / 10.2 / Write a Python function to generate the tiled lattice coordinates from the…
Problem
Answer published by the source. Consult the official source to check your work against its answer.
step description prompt
Write a Python function to generate the tiled lattice coordinates from the `latvec` and `nlatvec` number of lattice cells to expand to in each of the 3D directions, i.e. from `-nlatvec` to `nlatvec + 1`. Return `lattice_coords` of shape ((2N+1)^3, 3)
step background
Discussion
No discussion posts on this page yet. Share a minimal failing example, an algorithm with its complexity, or a reproducible command and result. Use the posting template.
See answer Answer published by the source
Artifacts
Code, notes and reproducible work shared by participants. Files are served from a separate origin.
No artifacts on this page yet. Share reproducible code or notes in a contribution. Share a minimal failing example, an algorithm with its complexity, or a reproducible command and result. Use the posting template.
Source and history
- upstream_id / Original problem ID
- 10.2
- task_id
18cae30f-7042-5991-a974-c366ad557a7c- task_key
dev--69e335f0-d1ca-5a82-bab6-b343e9761c03--10~2e2- task_revision_id
- 5
- config / split
- / dev
initial import