Commit
·
d548975
0
Parent(s):
update
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .codespaces/.persistedshare/.dcv-at-creation +1 -0
- .codespaces/.persistedshare/.docker/config.json +16 -0
- .codespaces/.persistedshare/client-environment-settings.json +1 -0
- .codespaces/.persistedshare/devcontainers-cli/cache/env-loginInteractiveShell.json +84 -0
- .codespaces/.persistedshare/prefetched_user_data +0 -0
- .codespaces/.persistedshare/prefetched_user_data.old +0 -0
- .codespaces/.persistedshare/unifiedContainerInformation.json +1 -0
- .codespaces/.persistedshare/vsserverhostlog.txt +990 -0
- .codespaces/.persistedshare/vsserverterminallog.txt +0 -0
- .codespaces/shared/.env +13 -0
- .codespaces/shared/.env-secrets +13 -0
- .codespaces/shared/.environmentConfigurationCompleted +0 -0
- .codespaces/shared/.user-secrets.json +1 -0
- .codespaces/shared/codespaceStatusTool.js +0 -0
- .codespaces/shared/devContainerTelemetry.json +5 -0
- .codespaces/shared/environment-variables.json +4 -0
- .codespaces/shared/first-run-notice.txt +9 -0
- .codespaces/shared/merged_devcontainer.json +77 -0
- .codespaces/shared/postCreateOutput.json +28 -0
- .codespaces/shared/read-config.json +1 -0
- .codespaces/shared/resource-usage.json +1 -0
- .codespaces/shared/unifiedPostCreateOutput.json +9 -0
- .codespaces/shared/user-secrets-envs.json +1 -0
- .cspell.jsonc +23 -0
- .gitattributes +47 -0
- .gitignore +141 -0
- .gpte_consent +1 -0
- .pre-commit-config.yaml +20 -0
- .ruff.toml +8 -0
- .vscode/launch.json +26 -0
- .vscode/settings.json +14 -0
- =4.41.2 +17 -0
- AutoPrompt/.gitignore +7 -0
- AutoPrompt/LICENSE +201 -0
- AutoPrompt/Makefile +0 -0
- AutoPrompt/Pipfile +25 -0
- AutoPrompt/Pipfile.lock +0 -0
- AutoPrompt/README.md +229 -0
- AutoPrompt/config/config_default.yml +59 -0
- AutoPrompt/config/config_diff/config_batch_classification.yml +14 -0
- AutoPrompt/config/config_diff/config_generation.yml +25 -0
- AutoPrompt/config/config_diff/config_ranking.yml +5 -0
- AutoPrompt/config/llm_env.yml +12 -0
- AutoPrompt/dataset/base_dataset.py +158 -0
- AutoPrompt/docs/AutoPrompt_Diagram.png +3 -0
- AutoPrompt/docs/arch_overview.png +3 -0
- AutoPrompt/docs/architecture.md +18 -0
- AutoPrompt/docs/argilla_movie_spoilers_example.png +3 -0
- AutoPrompt/docs/autoprompt_recording.gif +3 -0
- AutoPrompt/docs/contributing.md +13 -0
.codespaces/.persistedshare/.dcv-at-creation
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
2.27.2
|
.codespaces/.persistedshare/.docker/config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auths": {
|
3 |
+
"docker.pkg.github.com": {
|
4 |
+
"auth": "VVNFUk5BTUU6Z2h1X1FkVVVuZEtyRHcybHZWQjdNeWxwQ09iMWNrc2tLUzFFQVlSYQ=="
|
5 |
+
},
|
6 |
+
"ghcr.io": {
|
7 |
+
"auth": "a2VuaWNoaW1peWF0YTpnaHVfUWRVVW5kS3JEdzJsdlZCN015bHBDT2IxY2tza0tTMUVBWVJh"
|
8 |
+
},
|
9 |
+
"https://index.docker.io/v1/": {
|
10 |
+
"auth": "Y29kZXNwYWNlc2RldjpkZjBlZTZhZC1mOWIyLTQyM2MtODc4Zi02MzVkMGM5NGRjYzI="
|
11 |
+
}
|
12 |
+
},
|
13 |
+
"HttpHeaders": {
|
14 |
+
"X-Meta-Source-Client": "github/codespaces"
|
15 |
+
}
|
16 |
+
}
|
.codespaces/.persistedshare/client-environment-settings.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"disablePerformanceNotifs":false}
|
.codespaces/.persistedshare/devcontainers-cli/cache/env-loginInteractiveShell.json
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"SHELL": "/bin/bash",
|
3 |
+
"NUGET_XMLDOC_MODE": "skip",
|
4 |
+
"NVM_INC": "/usr/local/share/nvm/versions/node/v20.18.1/include/node",
|
5 |
+
"rvm_prefix": "/usr/local",
|
6 |
+
"HOSTNAME": "codespaces-9cefb6",
|
7 |
+
"JAVA_ROOT": "/home/codespace/java",
|
8 |
+
"JAVA_HOME": "/usr/local/sdkman/candidates/java/current",
|
9 |
+
"DOTNET_ROOT": "/usr/share/dotnet",
|
10 |
+
"CODESPACES": "true",
|
11 |
+
"GRADLE_HOME": "/usr/local/sdkman/candidates/gradle/current",
|
12 |
+
"PYTHON_ROOT": "/home/codespace/.python",
|
13 |
+
"rvm_stored_umask": "0022",
|
14 |
+
"NVS_DIR": "/usr/local/nvs",
|
15 |
+
"NVS_OS": "linux",
|
16 |
+
"DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "1",
|
17 |
+
"MY_RUBY_HOME": "/usr/local/rvm/rubies/ruby-3.3.4",
|
18 |
+
"NVS_USE_XZ": "1",
|
19 |
+
"SDKMAN_CANDIDATES_DIR": "/usr/local/sdkman/candidates",
|
20 |
+
"RUBY_VERSION": "ruby-3.3.4",
|
21 |
+
"PIPX_BIN_DIR": "/usr/local/py-utils/bin",
|
22 |
+
"rvm_version": "1.29.12 (latest)",
|
23 |
+
"ORYX_DIR": "/usr/local/oryx",
|
24 |
+
"rvm_user_install_flag": "0",
|
25 |
+
"ContainerVersion": "13",
|
26 |
+
"HUGO_ROOT": "/home/codespace/.hugo",
|
27 |
+
"NPM_GLOBAL": "/home/codespace/.npm-global",
|
28 |
+
"HOME": "/home/codespace",
|
29 |
+
"LANG": "C.UTF-8",
|
30 |
+
"LS_COLORS": "",
|
31 |
+
"DYNAMIC_INSTALL_ROOT_DIR": "/opt",
|
32 |
+
"NVM_SYMLINK_CURRENT": "true",
|
33 |
+
"PHP_PATH": "/usr/local/php/current",
|
34 |
+
"DEBIAN_FLAVOR": "focal-scm",
|
35 |
+
"PHP_ROOT": "/home/codespace/.php",
|
36 |
+
"ORYX_ENV_TYPE": "vsonline-present",
|
37 |
+
"HUGO_DIR": "/usr/local/hugo/bin",
|
38 |
+
"DOCKER_BUILDKIT": "1",
|
39 |
+
"GOROOT": "/usr/local/go",
|
40 |
+
"SHELL_LOGGED_IN": "true",
|
41 |
+
"PYTHON_PATH": "/usr/local/python/current",
|
42 |
+
"NVM_DIR": "/usr/local/share/nvm",
|
43 |
+
"rvm_bin_path": "/usr/local/rvm/bin",
|
44 |
+
"GEM_PATH": "/usr/local/rvm/gems/ruby-3.3.4:/usr/local/rvm/gems/ruby-3.3.4@global",
|
45 |
+
"GEM_HOME": "/usr/local/rvm/gems/ruby-3.3.4",
|
46 |
+
"LESSCLOSE": "/usr/bin/lesspipe %s %s",
|
47 |
+
"NVS_ROOT": "/usr/local/nvs",
|
48 |
+
"LESSOPEN": "| /usr/bin/lesspipe %s",
|
49 |
+
"USER": "codespace",
|
50 |
+
"NODE_ROOT": "/home/codespace/nvm",
|
51 |
+
"PYTHONIOENCODING": "UTF-8",
|
52 |
+
"NVS_HOME": "/usr/local/nvs",
|
53 |
+
"PIPX_HOME": "/usr/local/py-utils",
|
54 |
+
"rvm_loaded_flag": "1",
|
55 |
+
"CONDA_SCRIPT": "/opt/conda/etc/profile.d/conda.sh",
|
56 |
+
"MAVEN_HOME": "/usr/local/sdkman/candidates/maven/current",
|
57 |
+
"SDKMAN_DIR": "/usr/local/sdkman",
|
58 |
+
"SHLVL": "1",
|
59 |
+
"NVM_CD_FLAGS": "",
|
60 |
+
"ORYX_SDK_STORAGE_BASE_URL": "https://oryx-cdn.microsoft.io",
|
61 |
+
"CONDA_DIR": "/opt/conda",
|
62 |
+
"PROMPT_DIRTRIM": "4",
|
63 |
+
"SDKMAN_CANDIDATES_API": "https://api.sdkman.io/2",
|
64 |
+
"DOTNET_RUNNING_IN_CONTAINER": "true",
|
65 |
+
"DOTNET_USE_POLLING_FILE_WATCHER": "true",
|
66 |
+
"ENABLE_DYNAMIC_INSTALL": "true",
|
67 |
+
"MAVEN_ROOT": "/home/codespace/.maven",
|
68 |
+
"ORYX_PREFER_USER_INSTALLED_SDKS": "true",
|
69 |
+
"JUPYTERLAB_PATH": "/home/codespace/.local/bin",
|
70 |
+
"RVM_PATH": "/usr/local/rvm",
|
71 |
+
"RAILS_DEVELOPMENT_HOSTS": ".githubpreview.dev,.preview.app.github.dev,.app.github.dev",
|
72 |
+
"RUBY_ROOT": "/home/codespace/.ruby",
|
73 |
+
"RUBY_HOME": "/usr/local/rvm/rubies/default",
|
74 |
+
"PATH": "/home/codespace/.local/bin:/home/codespace/.dotnet:/home/codespace/nvm/current/bin:/home/codespace/.php/current/bin:/home/codespace/.python/current/bin:/home/codespace/java/current/bin:/home/codespace/.ruby/current/bin:/home/codespace/.local/bin:/usr/local/python/current/bin:/usr/local/py-utils/bin:/usr/local/oryx:/usr/local/go/bin:/go/bin:/usr/local/sdkman/bin:/usr/local/sdkman/candidates/java/current/bin:/usr/local/sdkman/candidates/gradle/current/bin:/usr/local/sdkman/candidates/maven/current/bin:/usr/local/sdkman/candidates/ant/current/bin:/usr/local/rvm/gems/default/bin:/usr/local/rvm/gems/default@global/bin:/usr/local/rvm/rubies/default/bin:/usr/local/share/rbenv/bin:/usr/local/php/current/bin:/opt/conda/bin:/usr/local/nvs:/usr/local/share/nvm/current/bin:/usr/local/hugo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/share/dotnet:/home/codespace/.dotnet/tools:/usr/local/rvm/bin",
|
75 |
+
"SDKMAN_PLATFORM": "linuxx64",
|
76 |
+
"NVM_BIN": "/usr/local/share/nvm/versions/node/v20.18.1/bin",
|
77 |
+
"IRBRC": "/usr/local/rvm/rubies/ruby-3.3.4/.irbrc",
|
78 |
+
"rvm_path": "/usr/local/rvm",
|
79 |
+
"OLDPWD": "/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447",
|
80 |
+
"GOPATH": "/go",
|
81 |
+
"BASH_FUNC_nvs%%": "() { if [ -z \"${NVS_HOME}\" ]; then\n export NVS_HOME=\"${NVS_ROOT}\";\n fi;\n export NVS_POSTSCRIPT=\"${NVS_HOME}/nvs_tmp_$(dd if=/dev/urandom count=1 2> /dev/null | cksum | cut -f1 -d\" \").sh\";\n local NODE_EXE=\"node\";\n if [ \"${NVS_OS}\" = \"win\" ]; then\n NODE_EXE=\"node.exe\";\n fi;\n local NODE_PATH=\"${NVS_HOME}/cache/${NODE_EXE}\";\n if [ ! -f \"${NODE_PATH}\" ]; then\n local NODE_VERSION=\"$(grep '\"bootstrap\" *:' \"${NVS_ROOT}/defaults.json\" | sed -e 's/.*: *\"//' -e 's/\"[^\\n]*//' -e 's/.*\\///')\";\n local NODE_REMOTE=\"$(grep '\"bootstrap\" *:' \"${NVS_ROOT}/defaults.json\" | sed -e 's/.*: *\"//' -e 's/\"[^\\n]*//' -e 's/\\/.*//')\";\n local NODE_BASE_URI=\"$(grep \"\\\"${NODE_REMOTE}\\\" *:\" \"${NVS_ROOT}/defaults.json\" | sed -e 's/.*: *\"//' -e 's/\"[^\\n]*//')\";\n local NODE_ARCHIVE_EXT=\".tar.gz\";\n local TAR_FLAGS=\"-zxvf\";\n if [ \"${NVS_OS}\" = \"win\" ]; then\n NODE_ARCHIVE_EXT=\".7z\";\n else\n if [ \"${NVS_USE_XZ}\" = \"1\" ]; then\n NODE_ARCHIVE_EXT=\".tar.xz\";\n TAR_FLAGS=\"-Jxvf\";\n fi;\n fi;\n local NODE_ARCH=\"$(uname -m | sed -e 's/x86_64/x64/;s/i86pc/x64/;s/i686/x86/;s/aarch64/arm64/')\";\n if [ \"${NVS_OS}\" = \"aix\" ]; then\n NODE_ARCH=\"ppc64\";\n fi;\n local NODE_FULLNAME=\"node-v${NODE_VERSION}-${NVS_OS}-${NODE_ARCH}\";\n local NODE_URI=\"${NODE_BASE_URI}v${NODE_VERSION}/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}\";\n local NODE_ARCHIVE=\"${NVS_HOME}/cache/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}\";\n if [ ! -d \"${NVS_HOME}/cache\" ]; then\n command mkdir -p \"${NVS_HOME}/cache\";\n fi;\n echo \"Downloading bootstrap node from ${NODE_URI}\";\n if type noglob > /dev/null 2>&1; then\n noglob curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\";\n else\n curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\";\n fi;\n if [ ! -f \"${NODE_ARCHIVE}\" ] && [ \"${NODE_ARCHIVE_EXT}\" = \".tar.xz\" ]; then\n NODE_ARCHIVE_EXT=\".tar.gz\";\n TAR_FLAGS=\"-zxvf\";\n NODE_ARCHIVE=\"${NVS_HOME}/cache/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}\";\n echo \"Retry download bootstrap node from ${NODE_URI} in gz format\";\n if type noglob > /dev/null 2>&1; then\n noglob curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\";\n else\n curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\";\n fi;\n fi;\n if [ ! -f \"${NODE_ARCHIVE}\" ]; then\n echo \"Failed to download node binary.\";\n return 1;\n fi;\n if [ \"${NVS_OS}\" = \"win\" ]; then\n \"${NVS_ROOT}/tools/7-Zip/7zr.exe\" e \"-o${NVS_HOME}/cache\" -y \"${NODE_ARCHIVE}\" \"${NODE_FULLNAME}/${NODE_EXE}\" > /dev/null 2>&1;\n else\n if [ \"${NVS_OS}\" = \"aix\" ]; then\n gunzip \"${NODE_ARCHIVE}\" | tar -xvC \"${NVS_HOME}/cache\" \"${NODE_FULLNAME}/bin/${NODE_EXE}\" > /dev/null 2>&1;\n else\n tar $TAR_FLAGS \"${NODE_ARCHIVE}\" -C \"${NVS_HOME}/cache\" \"${NODE_FULLNAME}/bin/${NODE_EXE}\" > /dev/null 2>&1;\n fi;\n mv \"${NVS_HOME}/cache/${NODE_FULLNAME}/bin/${NODE_EXE}\" \"${NVS_HOME}/cache/${NODE_EXE}\" > /dev/null 2>&1;\n rm -r \"${NVS_HOME}/cache/${NODE_FULLNAME}\" > /dev/null 2>&1;\n fi;\n if [ ! -f \"${NODE_PATH}\" ]; then\n echo \"Failed to setup node binary.\";\n return 1;\n fi;\n echo \"\";\n fi;\n local EXIT_CODE=0;\n case \"$@\" in \n \"cd\")\n local DIR=$PWD;\n while [ \"$DIR\" != \"\" -a ! \\( -e \"$DIR/.node-version\" -o -e \"$DIR/.nvmrc\" \\) ]; do\n if [ \"$DIR\" = \"/\" ]; then\n DIR=;\n else\n DIR=$(dirname \"$DIR\");\n fi;\n done;\n if [ \"$DIR\" != \"$NVS_AUTO_DIRECTORY\" ]; then\n command \"${NODE_PATH}\" \"${NVS_ROOT}/lib/index.js\" auto;\n EXIT_CODE=$?;\n fi;\n export NVS_AUTO_DIRECTORY=$DIR\n ;;\n *)\n command \"${NODE_PATH}\" \"${NVS_ROOT}/lib/index.js\" \"$@\";\n EXIT_CODE=$?\n ;;\n esac;\n if [ ${EXIT_CODE} = 2 ]; then\n rm \"${NODE_PATH}\";\n nvs $@;\n fi;\n if [ -f \"${NVS_POSTSCRIPT}\" ]; then\n . \"${NVS_POSTSCRIPT}\";\n command rm \"${NVS_POSTSCRIPT}\";\n unset NVS_POSTSCRIPT;\n fi;\n return $EXIT_CODE\n}",
|
82 |
+
"BASH_FUNC_nvsudo%%": "() { local NVS_CURRENT=`nvs which`;\n if [ -n \"${NVS_CURRENT}\" ]; then\n NVS_CURRENT=`dirname \"${NVS_CURRENT}\"`;\n fi;\n sudo \"NVS_CURRENT=${NVS_CURRENT}\" \"${NVS_ROOT}/nvs\" $*\n}",
|
83 |
+
"_": "/usr/bin/cat"
|
84 |
+
}
|
.codespaces/.persistedshare/prefetched_user_data
ADDED
File without changes
|
.codespaces/.persistedshare/prefetched_user_data.old
ADDED
File without changes
|
.codespaces/.persistedshare/unifiedContainerInformation.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unifiedContainer":true,"user":"codespace","originallyCreatedFromPrebuild":false}
|
.codespaces/.persistedshare/vsserverhostlog.txt
ADDED
@@ -0,0 +1,990 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[2025-03-02T14:12:08.637Z] @microsoft/vscode-dev-containers-cli 0.93.0.
|
2 |
+
[2025-03-02T14:12:08.637Z] Start: Resolving Remote for VSC start
|
3 |
+
[2025-03-02T14:12:08.639Z] Start: Run: docker ps -q -a --filter label=Type=codespaces
|
4 |
+
[2025-03-02T14:12:08.656Z] Stop (17 ms): Run: docker ps -q -a --filter label=Type=codespaces
|
5 |
+
[2025-03-02T14:12:08.657Z] Start: Run: docker inspect --type container ebceffe8415a
|
6 |
+
[2025-03-02T14:12:08.673Z] Stop (16 ms): Run: docker inspect --type container ebceffe8415a
|
7 |
+
[2025-03-02T14:12:08.674Z] Start: Inspecting container
|
8 |
+
[2025-03-02T14:12:08.675Z] Stop (1 ms): Inspecting container
|
9 |
+
[2025-03-02T14:12:08.675Z] Start: Run in container: /bin/sh
|
10 |
+
[2025-03-02T14:12:08.678Z] Start: Run in container: uname -m
|
11 |
+
[2025-03-02T14:12:08.734Z] x86_64
|
12 |
+
[2025-03-02T14:12:08.735Z]
|
13 |
+
[2025-03-02T14:12:08.735Z] Stop (57 ms): Run in container: uname -m
|
14 |
+
[2025-03-02T14:12:08.735Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
|
15 |
+
[2025-03-02T14:12:08.737Z] NAME="Ubuntu"
|
16 |
+
VERSION="20.04.6 LTS (Focal Fossa)"
|
17 |
+
ID=ubuntu
|
18 |
+
ID_LIKE=debian
|
19 |
+
PRETTY_NAME="Ubuntu 20.04.6 LTS"
|
20 |
+
VERSION_ID="20.04"
|
21 |
+
HOME_URL="https://www.ubuntu.com/"
|
22 |
+
SUPPORT_URL="https://help.ubuntu.com/"
|
23 |
+
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
|
24 |
+
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
|
25 |
+
VERSION_CODENAME=focal
|
26 |
+
UBUNTU_CODENAME=focal
|
27 |
+
[2025-03-02T14:12:08.737Z]
|
28 |
+
[2025-03-02T14:12:08.737Z] Stop (2 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
|
29 |
+
[2025-03-02T14:12:08.738Z] Start: Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'codespace' || grep -E '^codespace|^[^:]*:[^:]*:codespace:' /etc/passwd || ********)
|
30 |
+
[2025-03-02T14:12:08.740Z] Stop (2 ms): Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'codespace' || grep -E '^codespace|^[^:]*:[^:]*:codespace:' /etc/passwd || ********)
|
31 |
+
[2025-03-02T14:12:08.741Z] Start: Run in container: test -d '/home/codespace/.vscode-remote'
|
32 |
+
[2025-03-02T14:12:08.742Z]
|
33 |
+
[2025-03-02T14:12:08.742Z]
|
34 |
+
[2025-03-02T14:12:08.742Z] Stop (1 ms): Run in container: test -d '/home/codespace/.vscode-remote'
|
35 |
+
[2025-03-02T14:12:08.742Z] Start: Run in container: test ! -f '/home/codespace/.vscode-remote/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/home/codespace/.vscode-remote/data/Machine' && { > '/home/codespace/.vscode-remote/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
|
36 |
+
[2025-03-02T14:12:08.745Z]
|
37 |
+
[2025-03-02T14:12:08.745Z]
|
38 |
+
[2025-03-02T14:12:08.745Z] Stop (3 ms): Run in container: test ! -f '/home/codespace/.vscode-remote/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/home/codespace/.vscode-remote/data/Machine' && { > '/home/codespace/.vscode-remote/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
|
39 |
+
[2025-03-02T14:12:08.745Z] Start: Run in container: mkdir -p '/home/codespace/.vscode-remote/data/Machine' && cat >'/home/codespace/.vscode-remote/data/Machine/settings.json' <<'settingsJSON'
|
40 |
+
[2025-03-02T14:12:08.749Z]
|
41 |
+
[2025-03-02T14:12:08.749Z]
|
42 |
+
[2025-03-02T14:12:08.749Z] Stop (4 ms): Run in container: mkdir -p '/home/codespace/.vscode-remote/data/Machine' && cat >'/home/codespace/.vscode-remote/data/Machine/settings.json' <<'settingsJSON'
|
43 |
+
[2025-03-02T14:12:08.749Z] Start: Run in container: test -d '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447'
|
44 |
+
[2025-03-02T14:12:08.750Z]
|
45 |
+
[2025-03-02T14:12:08.751Z]
|
46 |
+
[2025-03-02T14:12:08.751Z] Exit code 1
|
47 |
+
[2025-03-02T14:12:08.751Z] Stop (2 ms): Run in container: test -d '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447'
|
48 |
+
[2025-03-02T14:12:08.751Z] Start: Run in container: test -d '/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447'
|
49 |
+
[2025-03-02T14:12:08.752Z]
|
50 |
+
[2025-03-02T14:12:08.752Z]
|
51 |
+
[2025-03-02T14:12:08.752Z] Stop (1 ms): Run in container: test -d '/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447'
|
52 |
+
[2025-03-02T14:12:08.752Z] Start: Run in container: mkdir -p '/home/codespace/.vscode-remote/bin' && ln -snf '/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447' '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447'
|
53 |
+
[2025-03-02T14:12:08.755Z]
|
54 |
+
[2025-03-02T14:12:08.756Z]
|
55 |
+
[2025-03-02T14:12:08.756Z] Stop (4 ms): Run in container: mkdir -p '/home/codespace/.vscode-remote/bin' && ln -snf '/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447' '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447'
|
56 |
+
[2025-03-02T14:12:08.756Z] Start: Run in container: /bin/sh
|
57 |
+
[2025-03-02T14:12:08.758Z] Start: Run in container: test -x '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447/bin/helpers/check-requirements.sh'
|
58 |
+
[2025-03-02T14:12:08.758Z] Start: Run in container: touch '/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447'
|
59 |
+
[2025-03-02T14:12:08.759Z]
|
60 |
+
[2025-03-02T14:12:08.759Z]
|
61 |
+
[2025-03-02T14:12:08.759Z] Stop (1 ms): Run in container: test -x '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447/bin/helpers/check-requirements.sh'
|
62 |
+
[2025-03-02T14:12:08.759Z] Start: Run in container: '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447/bin/helpers/check-requirements.sh'
|
63 |
+
[2025-03-02T14:12:08.861Z]
|
64 |
+
[2025-03-02T14:12:08.861Z]
|
65 |
+
[2025-03-02T14:12:08.861Z] Stop (103 ms): Run in container: touch '/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447'
|
66 |
+
[2025-03-02T14:12:08.864Z]
|
67 |
+
[2025-03-02T14:12:08.864Z]
|
68 |
+
[2025-03-02T14:12:08.864Z] Stop (105 ms): Run in container: '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447/bin/helpers/check-requirements.sh'
|
69 |
+
[2025-03-02T14:12:08.864Z] userEnvProbe: loginInteractiveShell (default)
|
70 |
+
[2025-03-02T14:12:08.865Z] Start: Run in container: test -f '/workspaces/.codespaces/.persistedshare/devcontainers-cli/cache/env-loginInteractiveShell.json'
|
71 |
+
[2025-03-02T14:12:08.866Z]
|
72 |
+
[2025-03-02T14:12:08.866Z]
|
73 |
+
[2025-03-02T14:12:08.866Z] Exit code 1
|
74 |
+
[2025-03-02T14:12:08.866Z] Stop (1 ms): Run in container: test -f '/workspaces/.codespaces/.persistedshare/devcontainers-cli/cache/env-loginInteractiveShell.json'
|
75 |
+
[2025-03-02T14:12:08.866Z] Start: Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd || echo ; readlink /proc/$pid/ns/mnt || echo ; cat /proc/$pid/stat | tr "
|
76 |
+
[2025-03-02T14:12:08.866Z] userEnvProbe: not found in cache
|
77 |
+
[2025-03-02T14:12:08.867Z] userEnvProbe shell: /bin/bash
|
78 |
+
[2025-03-02T14:12:08.867Z] Start: Run in container: /bin/bash -lic echo -n 83fbdef2-ee6e-4afd-8f22-2c333e256ae1; cat /proc/self/environ; echo -n 83fbdef2-ee6e-4afd-8f22-2c333e256ae1
|
79 |
+
[2025-03-02T14:12:09.007Z] Stop (141 ms): Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd || echo ; readlink /proc/$pid/ns/mnt || echo ; cat /proc/$pid/stat | tr "
|
80 |
+
[2025-03-02T14:12:09.009Z] Start: Run in container: cat '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447/product.json'
|
81 |
+
[2025-03-02T14:12:09.012Z] Stop (3 ms): Run in container: cat '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447/product.json'
|
82 |
+
[2025-03-02T14:12:09.015Z] Running extension host agents:
|
83 |
+
[]
|
84 |
+
[2025-03-02T14:12:09.015Z] Start: Run in container: cat '/home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447' 2>/dev/null || (umask 377 && echo '98178c1e-07ba-44dd-b57a-ebd618207f3f' >'/home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447-c56e17a2-7c67-4fc4-a022-a721e135f7a8' && mv -n '/home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447-c56e17a2-7c67-4fc4-a022-a721e135f7a8' '/home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447' && rm -f '/home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447-c56e17a2-7c67-4fc4-a022-a721e135f7a8' && cat '/home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447')
|
85 |
+
[2025-03-02T14:12:09.027Z] 98178c1e-07ba-44dd-b57a-ebd618207f3f
|
86 |
+
[2025-03-02T14:12:09.027Z]
|
87 |
+
[2025-03-02T14:12:09.027Z] Stop (12 ms): Run in container: cat '/home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447' 2>/dev/null || (umask 377 && echo '98178c1e-07ba-44dd-b57a-ebd618207f3f' >'/home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447-c56e17a2-7c67-4fc4-a022-a721e135f7a8' && mv -n '/home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447-c56e17a2-7c67-4fc4-a022-a721e135f7a8' '/home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447' && rm -f '/home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447-c56e17a2-7c67-4fc4-a022-a721e135f7a8' && cat '/home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447')
|
88 |
+
[2025-03-02T14:12:09.027Z] Start: Starting VS Code Server
|
89 |
+
[2025-03-02T14:12:09.028Z] Start: Preparing Extensions
|
90 |
+
[2025-03-02T14:12:09.028Z] Start: Run in container: test ! -f '/home/codespace/.vscode-remote/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/home/codespace/.vscode-remote/data/Machine' && { > '/home/codespace/.vscode-remote/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
|
91 |
+
[2025-03-02T14:12:09.032Z]
|
92 |
+
[2025-03-02T14:12:09.032Z]
|
93 |
+
[2025-03-02T14:12:09.032Z] Stop (4 ms): Run in container: test ! -f '/home/codespace/.vscode-remote/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/home/codespace/.vscode-remote/data/Machine' && { > '/home/codespace/.vscode-remote/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
|
94 |
+
[2025-03-02T14:12:09.032Z] Start: Run in container: mkdir -p '/vscode/extensionsCache' && chown -R codespace /vscode/extensionsCache
|
95 |
+
[2025-03-02T14:12:09.038Z]
|
96 |
+
[2025-03-02T14:12:09.038Z]
|
97 |
+
[2025-03-02T14:12:09.038Z] Stop (6 ms): Run in container: mkdir -p '/vscode/extensionsCache' && chown -R codespace /vscode/extensionsCache
|
98 |
+
[2025-03-02T14:12:09.038Z] Start: Run in container: mkdir -p '/vscode/extensionsCache' && ln -s -T '/vscode/extensionsCache' '/home/codespace/.vscode-remote/extensionsCache' || ********
|
99 |
+
[2025-03-02T14:12:09.043Z]
|
100 |
+
[2025-03-02T14:12:09.043Z]
|
101 |
+
[2025-03-02T14:12:09.043Z] Stop (5 ms): Run in container: mkdir -p '/vscode/extensionsCache' && ln -s -T '/vscode/extensionsCache' '/home/codespace/.vscode-remote/extensionsCache' || ********
|
102 |
+
[2025-03-02T14:12:09.043Z] Stop (15 ms): Preparing Extensions
|
103 |
+
[2025-03-02T14:12:09.562Z] Stop (695 ms): Run in container: /bin/bash -lic echo -n 83fbdef2-ee6e-4afd-8f22-2c333e256ae1; cat /proc/self/environ; echo -n 83fbdef2-ee6e-4afd-8f22-2c333e256ae1
|
104 |
+
[2025-03-02T14:12:09.563Z] 83fbdef2-ee6e-4afd-8f22-2c333e256ae1SHELL=/bin/bash NUGET_XMLDOC_MODE=skip NVM_INC=/usr/local/share/nvm/versions/node/v20.18.1/include/node rvm_prefix=/usr/local HOSTNAME=codespaces-9cefb6 JAVA_ROOT=/home/codespace/java JAVA_HOME=/usr/local/sdkman/candidates/java/current DOTNET_ROOT=/usr/share/dotnet CODESPACES=******** GRADLE_HOME=/usr/local/sdkman/candidates/gradle/current PYTHON_ROOT=/home/codespace/.python rvm_stored_umask=0022 NVS_DIR=/usr/local/nvs NVS_OS=linux DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 MY_RUBY_HOME=/usr/local/rvm/rubies/ruby-3.3.4 NVS_USE_XZ=1 SDKMAN_CANDIDATES_DIR=/usr/local/sdkman/candidates RUBY_VERSION=ruby-3.3.4 PWD=/workspaces/evamaster PIPX_BIN_DIR=/usr/local/py-utils/bin rvm_version=1.29.12 (latest) ORYX_DIR=/usr/local/oryx rvm_user_install_flag=0 ContainerVersion=13 HUGO_ROOT=/home/codespace/.hugo NPM_GLOBAL=/home/codespace/.npm-global HOME=/home/codespace LANG=C.UTF-8 LS_COLORS= DYNAMIC_INSTALL_ROOT_DIR=/opt NVM_SYMLINK_CURRENT=******** PHP_PATH=/usr/local/php/current DEBIAN_FLAVOR=focal-scm PHP_ROOT=/home/codespace/.php ORYX_ENV_TYPE=vsonline-present HUGO_DIR=/usr/local/hugo/bin DOCKER_BUILDKIT=1 GOROOT=/usr/local/go SHELL_LOGGED_IN=******** PYTHON_PATH=/usr/local/python/current NVM_DIR=/usr/local/share/nvm rvm_bin_path=/usr/local/rvm/bin GEM_PATH=/usr/local/rvm/gems/ruby-3.3.4:/usr/local/rvm/gems/ruby-3.3.4@global GEM_HOME=/usr/local/rvm/gems/ruby-3.3.4 LESSCLOSE=/usr/bin/lesspipe %s %s NVS_ROOT=/usr/local/nvs LESSOPEN=| /usr/bin/lesspipe %s USER=codespace NODE_ROOT=/home/codespace/nvm PYTHONIOENCODING=UTF-8 NVS_HOME=/usr/local/nvs PIPX_HOME=/usr/local/py-utils rvm_loaded_flag=1 CONDA_SCRIPT=/opt/conda/etc/profile.d/conda.sh MAVEN_HOME=/usr/local/sdkman/candidates/maven/current SDKMAN_DIR=/usr/local/sdkman SHLVL=1 NVM_CD_FLAGS= ORYX_SDK_STORAGE_BASE_URL=https://oryx-cdn.microsoft.io CONDA_DIR=/opt/conda PROMPT_DIRTRIM=4 SDKMAN_CANDIDATES_API=https://api.sdkman.io/2 DOTNET_RUNNING_IN_CONTAINER=******** DOTNET_USE_POLLING_FILE_WATCHER=******** ENABLE_DYNAMIC_INSTALL=******** MAVEN_ROOT=/home/codespace/.maven ORYX_PREFER_USER_INSTALLED_SDKS=******** JUPYTERLAB_PATH=/home/codespace/.local/bin RVM_PATH=/usr/local/rvm RAILS_DEVELOPMENT_HOSTS=.githubpreview.dev,.preview.********,.******** RUBY_ROOT=/home/codespace/.ruby RUBY_HOME=/usr/local/rvm/rubies/default PATH=/home/codespace/.local/bin:/home/codespace/.dotnet:/home/codespace/nvm/current/bin:/home/codespace/.php/current/bin:/home/codespace/.python/current/bin:/home/codespace/java/current/bin:/home/codespace/.ruby/current/bin:/home/codespace/.local/bin:/usr/local/python/current/bin:/usr/local/py-utils/bin:/usr/local/oryx:/usr/local/go/bin:/go/bin:/usr/local/sdkman/bin:/usr/local/sdkman/candidates/java/current/bin:/usr/local/sdkman/candidates/gradle/current/bin:/usr/local/sdkman/candidates/maven/current/bin:/usr/local/sdkman/candidates/ant/current/bin:/usr/local/rvm/gems/default/bin:/usr/local/rvm/gems/default@global/bin:/usr/local/rvm/rubies/default/bin:/usr/local/share/rbenv/bin:/usr/local/php/current/bin:/opt/conda/bin:/usr/local/nvs:/usr/local/share/nvm/current/bin:/usr/local/hugo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/share/dotnet:/home/codespace/.dotnet/tools:/usr/local/rvm/bin SDKMAN_PLATFORM=linuxx64 NVM_BIN=/usr/local/share/nvm/versions/node/v20.18.1/bin IRBRC=/usr/local/rvm/rubies/ruby-3.3.4/.irbrc rvm_path=/usr/local/rvm OLDPWD=/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447 GOPATH=/go BASH_FUNC_nvs%%=() { if [ -z "${NVS_HOME}" ]; then
|
105 |
+
export NVS_HOME="${NVS_ROOT}";
|
106 |
+
fi;
|
107 |
+
export NVS_POSTSCRIPT="${NVS_HOME}/nvs_tmp_$(dd if=/dev/urandom count=1 2> /dev/null | cksum | cut -f1 -d" ").sh";
|
108 |
+
local NODE_EXE="node";
|
109 |
+
if [ "${NVS_OS}" = "win" ]; then
|
110 |
+
NODE_EXE="node.exe";
|
111 |
+
fi;
|
112 |
+
local NODE_PATH="${NVS_HOME}/cache/${NODE_EXE}";
|
113 |
+
if [ ! -f "${NODE_PATH}" ]; then
|
114 |
+
local NODE_VERSION="$(grep '"bootstrap" *:' "${NVS_ROOT}/defaults.json" | sed -e 's/.*: *"//' -e 's/"[^\n]*//' -e 's/.*\///')";
|
115 |
+
local NODE_REMOTE="$(grep '"bootstrap" *:' "${NVS_ROOT}/defaults.json" | sed -e 's/.*: *"//' -e 's/"[^\n]*//' -e 's/\/.*//')";
|
116 |
+
local NODE_BASE_URI="$(grep "\"${NODE_REMOTE}\" *:" "${NVS_ROOT}/defaults.json" | sed -e 's/.*: *"//' -e 's/"[^\n]*//')";
|
117 |
+
local NODE_ARCHIVE_EXT=".tar.gz";
|
118 |
+
local TAR_FLAGS="-zxvf";
|
119 |
+
if [ "${NVS_OS}" = "win" ]; then
|
120 |
+
NODE_ARCHIVE_EXT=".7z";
|
121 |
+
else
|
122 |
+
if [ "${NVS_USE_XZ}" = "1" ]; then
|
123 |
+
NODE_ARCHIVE_EXT=".tar.xz";
|
124 |
+
TAR_FLAGS="-Jxvf";
|
125 |
+
fi;
|
126 |
+
fi;
|
127 |
+
local NODE_ARCH="$(uname -m | sed -e 's/x86_64/x64/;s/i86pc/x64/;s/i686/x86/;s/aarch64/arm64/')";
|
128 |
+
if [ "${NVS_OS}" = "aix" ]; then
|
129 |
+
NODE_ARCH="ppc64";
|
130 |
+
fi;
|
131 |
+
local NODE_FULLNAME="node-v${NODE_VERSION}-${NVS_OS}-${NODE_ARCH}";
|
132 |
+
local NODE_URI="${NODE_BASE_URI}v${NODE_VERSION}/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}";
|
133 |
+
local NODE_ARCHIVE="${NVS_HOME}/cache/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}";
|
134 |
+
if [ ! -d "${NVS_HOME}/cache" ]; then
|
135 |
+
command mkdir -p "${NVS_HOME}/cache";
|
136 |
+
fi;
|
137 |
+
echo "Downloading bootstrap node from ${NODE_URI}";
|
138 |
+
if type noglob > /dev/null 2>&1; then
|
139 |
+
noglob curl -L -# "${NODE_URI}" -o "${NODE_ARCHIVE}";
|
140 |
+
else
|
141 |
+
curl -L -# "${NODE_URI}" -o "${NODE_ARCHIVE}";
|
142 |
+
fi;
|
143 |
+
if [ ! -f "${NODE_ARCHIVE}" ] && [ "${NODE_ARCHIVE_EXT}" = ".tar.xz" ]; then
|
144 |
+
NODE_ARCHIVE_EXT=".tar.gz";
|
145 |
+
TAR_FLAGS="-zxvf";
|
146 |
+
NODE_ARCHIVE="${NVS_HOME}/cache/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}";
|
147 |
+
echo "Retry download bootstrap node from ${NODE_URI} in gz format";
|
148 |
+
if type noglob > /dev/null 2>&1; then
|
149 |
+
noglob curl -L -# "${NODE_URI}" -o "${NODE_ARCHIVE}";
|
150 |
+
else
|
151 |
+
curl -L -# "${NODE_URI}" -o "${NODE_ARCHIVE}";
|
152 |
+
fi;
|
153 |
+
fi;
|
154 |
+
if [ ! -f "${NODE_ARCHIVE}" ]; then
|
155 |
+
echo "Failed to download node binary.";
|
156 |
+
return 1;
|
157 |
+
fi;
|
158 |
+
if [ "${NVS_OS}" = "win" ]; then
|
159 |
+
"${NVS_ROOT}/tools/7-Zip/7zr.exe" e "-o${NVS_HOME}/cache" -y "${NODE_ARCHIVE}" "${NODE_FULLNAME}/${NODE_EXE}" > /dev/null 2>&1;
|
160 |
+
else
|
161 |
+
if [ "${NVS_OS}" = "aix" ]; then
|
162 |
+
gunzip "${NODE_ARCHIVE}" | tar -xvC "${NVS_HOME}/cache" "${NODE_FULLNAME}/bin/${NODE_EXE}" > /dev/null 2>&1;
|
163 |
+
else
|
164 |
+
tar $TAR_FLAGS "${NODE_ARCHIVE}" -C "${NVS_HOME}/cache" "${NODE_FULLNAME}/bin/${NODE_EXE}" > /dev/null 2>&1;
|
165 |
+
fi;
|
166 |
+
mv "${NVS_HOME}/cache/${NODE_FULLNAME}/bin/${NODE_EXE}" "${NVS_HOME}/cache/${NODE_EXE}" > /dev/null 2>&1;
|
167 |
+
rm -r "${NVS_HOME}/cache/${NODE_FULLNAME}" > /dev/null 2>&1;
|
168 |
+
fi;
|
169 |
+
if [ ! -f "${NODE_PATH}" ]; then
|
170 |
+
echo "Failed to setup node binary.";
|
171 |
+
return 1;
|
172 |
+
fi;
|
173 |
+
echo "";
|
174 |
+
fi;
|
175 |
+
local EXIT_CODE=0;
|
176 |
+
case "$@" in
|
177 |
+
"cd")
|
178 |
+
local DIR=$PWD;
|
179 |
+
while [ "$DIR" != "" -a ! \( -e "$DIR/.node-version" -o -e "$DIR/.nvmrc" \) ]; do
|
180 |
+
if [ "$DIR" = "/" ]; then
|
181 |
+
DIR=;
|
182 |
+
else
|
183 |
+
DIR=$(dirname "$DIR");
|
184 |
+
fi;
|
185 |
+
done;
|
186 |
+
if [ "$DIR" != "$NVS_AUTO_DIRECTORY" ]; then
|
187 |
+
command "${NODE_PATH}" "${NVS_ROOT}/lib/index.js" auto;
|
188 |
+
EXIT_CODE=$?;
|
189 |
+
fi;
|
190 |
+
export NVS_AUTO_DIRECTORY=$DIR
|
191 |
+
;;
|
192 |
+
*)
|
193 |
+
command "${NODE_PATH}" "${NVS_ROOT}/lib/index.js" "$@";
|
194 |
+
EXIT_CODE=$?
|
195 |
+
;;
|
196 |
+
esac;
|
197 |
+
if [ ${EXIT_CODE} = 2 ]; then
|
198 |
+
rm "${NODE_PATH}";
|
199 |
+
nvs $@;
|
200 |
+
fi;
|
201 |
+
if [ -f "${NVS_POSTSCRIPT}" ]; then
|
202 |
+
. "${NVS_POSTSCRIPT}";
|
203 |
+
command rm "${NVS_POSTSCRIPT}";
|
204 |
+
unset NVS_POSTSCRIPT;
|
205 |
+
fi;
|
206 |
+
return $EXIT_CODE
|
207 |
+
} BASH_FUNC_nvsudo%%=() { local NVS_CURRENT=`nvs which`;
|
208 |
+
if [ -n "${NVS_CURRENT}" ]; then
|
209 |
+
NVS_CURRENT=`dirname "${NVS_CURRENT}"`;
|
210 |
+
fi;
|
211 |
+
sudo "NVS_CURRENT=${NVS_CURRENT}" "${NVS_ROOT}/nvs" $*
|
212 |
+
} _=/usr/bin/cat 83fbdef2-ee6e-4afd-8f22-2c333e256ae1
|
213 |
+
[2025-03-02T14:12:09.563Z] bash: cannot set terminal process group (-1): Inappropriate ioctl for device
|
214 |
+
bash: no job control in this shell
|
215 |
+
|
216 |
+
[2025-03-02T14:12:09.564Z] userEnvProbe parsed: {
|
217 |
+
"SHELL": "/bin/bash",
|
218 |
+
"NUGET_XMLDOC_MODE": "skip",
|
219 |
+
"NVM_INC": "/usr/local/share/nvm/versions/node/v20.18.1/include/node",
|
220 |
+
"rvm_prefix": "/usr/local",
|
221 |
+
"HOSTNAME": "codespaces-9cefb6",
|
222 |
+
"JAVA_ROOT": "/home/codespace/java",
|
223 |
+
"JAVA_HOME": "/usr/local/sdkman/candidates/java/current",
|
224 |
+
"DOTNET_ROOT": "/usr/share/dotnet",
|
225 |
+
"CODESPACES": "********",
|
226 |
+
"GRADLE_HOME": "/usr/local/sdkman/candidates/gradle/current",
|
227 |
+
"PYTHON_ROOT": "/home/codespace/.python",
|
228 |
+
"rvm_stored_umask": "0022",
|
229 |
+
"NVS_DIR": "/usr/local/nvs",
|
230 |
+
"NVS_OS": "linux",
|
231 |
+
"DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "1",
|
232 |
+
"MY_RUBY_HOME": "/usr/local/rvm/rubies/ruby-3.3.4",
|
233 |
+
"NVS_USE_XZ": "1",
|
234 |
+
"SDKMAN_CANDIDATES_DIR": "/usr/local/sdkman/candidates",
|
235 |
+
"RUBY_VERSION": "ruby-3.3.4",
|
236 |
+
"PWD": "/workspaces/evamaster",
|
237 |
+
"PIPX_BIN_DIR": "/usr/local/py-utils/bin",
|
238 |
+
"rvm_version": "1.29.12 (latest)",
|
239 |
+
"ORYX_DIR": "/usr/local/oryx",
|
240 |
+
"rvm_user_install_flag": "0",
|
241 |
+
"ContainerVersion": "13",
|
242 |
+
"HUGO_ROOT": "/home/codespace/.hugo",
|
243 |
+
"NPM_GLOBAL": "/home/codespace/.npm-global",
|
244 |
+
"HOME": "/home/codespace",
|
245 |
+
"LANG": "C.UTF-8",
|
246 |
+
"LS_COLORS": "",
|
247 |
+
"DYNAMIC_INSTALL_ROOT_DIR": "/opt",
|
248 |
+
"NVM_SYMLINK_CURRENT": "********",
|
249 |
+
"PHP_PATH": "/usr/local/php/current",
|
250 |
+
"DEBIAN_FLAVOR": "focal-scm",
|
251 |
+
"PHP_ROOT": "/home/codespace/.php",
|
252 |
+
"ORYX_ENV_TYPE": "vsonline-present",
|
253 |
+
"HUGO_DIR": "/usr/local/hugo/bin",
|
254 |
+
"DOCKER_BUILDKIT": "1",
|
255 |
+
"GOROOT": "/usr/local/go",
|
256 |
+
"SHELL_LOGGED_IN": "********",
|
257 |
+
"PYTHON_PATH": "/usr/local/python/current",
|
258 |
+
"NVM_DIR": "/usr/local/share/nvm",
|
259 |
+
"rvm_bin_path": "/usr/local/rvm/bin",
|
260 |
+
"GEM_PATH": "/usr/local/rvm/gems/ruby-3.3.4:/usr/local/rvm/gems/ruby-3.3.4@global",
|
261 |
+
"GEM_HOME": "/usr/local/rvm/gems/ruby-3.3.4",
|
262 |
+
"LESSCLOSE": "/usr/bin/lesspipe %s %s",
|
263 |
+
"NVS_ROOT": "/usr/local/nvs",
|
264 |
+
"LESSOPEN": "| /usr/bin/lesspipe %s",
|
265 |
+
"USER": "codespace",
|
266 |
+
"NODE_ROOT": "/home/codespace/nvm",
|
267 |
+
"PYTHONIOENCODING": "UTF-8",
|
268 |
+
"NVS_HOME": "/usr/local/nvs",
|
269 |
+
"PIPX_HOME": "/usr/local/py-utils",
|
270 |
+
"rvm_loaded_flag": "1",
|
271 |
+
"CONDA_SCRIPT": "/opt/conda/etc/profile.d/conda.sh",
|
272 |
+
"MAVEN_HOME": "/usr/local/sdkman/candidates/maven/current",
|
273 |
+
"SDKMAN_DIR": "/usr/local/sdkman",
|
274 |
+
"SHLVL": "1",
|
275 |
+
"NVM_CD_FLAGS": "",
|
276 |
+
"ORYX_SDK_STORAGE_BASE_URL": "https://oryx-cdn.microsoft.io",
|
277 |
+
"CONDA_DIR": "/opt/conda",
|
278 |
+
"PROMPT_DIRTRIM": "4",
|
279 |
+
"SDKMAN_CANDIDATES_API": "https://api.sdkman.io/2",
|
280 |
+
"DOTNET_RUNNING_IN_CONTAINER": "********",
|
281 |
+
"DOTNET_USE_POLLING_FILE_WATCHER": "********",
|
282 |
+
"ENABLE_DYNAMIC_INSTALL": "********",
|
283 |
+
"MAVEN_ROOT": "/home/codespace/.maven",
|
284 |
+
"ORYX_PREFER_USER_INSTALLED_SDKS": "********",
|
285 |
+
"JUPYTERLAB_PATH": "/home/codespace/.local/bin",
|
286 |
+
"RVM_PATH": "/usr/local/rvm",
|
287 |
+
"RAILS_DEVELOPMENT_HOSTS": ".githubpreview.dev,.preview.********,.********",
|
288 |
+
"RUBY_ROOT": "/home/codespace/.ruby",
|
289 |
+
"RUBY_HOME": "/usr/local/rvm/rubies/default",
|
290 |
+
"PATH": "/home/codespace/.local/bin:/home/codespace/.dotnet:/home/codespace/nvm/current/bin:/home/codespace/.php/current/bin:/home/codespace/.python/current/bin:/home/codespace/java/current/bin:/home/codespace/.ruby/current/bin:/home/codespace/.local/bin:/usr/local/python/current/bin:/usr/local/py-utils/bin:/usr/local/oryx:/usr/local/go/bin:/go/bin:/usr/local/sdkman/bin:/usr/local/sdkman/candidates/java/current/bin:/usr/local/sdkman/candidates/gradle/current/bin:/usr/local/sdkman/candidates/maven/current/bin:/usr/local/sdkman/candidates/ant/current/bin:/usr/local/rvm/gems/default/bin:/usr/local/rvm/gems/default@global/bin:/usr/local/rvm/rubies/default/bin:/usr/local/share/rbenv/bin:/usr/local/php/current/bin:/opt/conda/bin:/usr/local/nvs:/usr/local/share/nvm/current/bin:/usr/local/hugo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/share/dotnet:/home/codespace/.dotnet/tools:/usr/local/rvm/bin",
|
291 |
+
"SDKMAN_PLATFORM": "linuxx64",
|
292 |
+
"NVM_BIN": "/usr/local/share/nvm/versions/node/v20.18.1/bin",
|
293 |
+
"IRBRC": "/usr/local/rvm/rubies/ruby-3.3.4/.irbrc",
|
294 |
+
"rvm_path": "/usr/local/rvm",
|
295 |
+
"OLDPWD": "/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447",
|
296 |
+
"GOPATH": "/go",
|
297 |
+
"BASH_FUNC_nvs%%": "() { if [ -z \"${NVS_HOME}\" ]; then\n export NVS_HOME=\"${NVS_ROOT}\";\n fi;\n export NVS_POSTSCRIPT=\"${NVS_HOME}/nvs_tmp_$(dd if=/dev/urandom count=1 2> /dev/null | cksum | cut -f1 -d\" \").sh\";\n local NODE_EXE=\"node\";\n if [ \"${NVS_OS}\" = \"win\" ]; then\n NODE_EXE=\"node.exe\";\n fi;\n local NODE_PATH=\"${NVS_HOME}/cache/${NODE_EXE}\";\n if [ ! -f \"${NODE_PATH}\" ]; then\n local NODE_VERSION=\"$(grep '\"bootstrap\" *:' \"${NVS_ROOT}/defaults.json\" | sed -e 's/.*: *\"//' -e 's/\"[^\\n]*//' -e 's/.*\\///')\";\n local NODE_REMOTE=\"$(grep '\"bootstrap\" *:' \"${NVS_ROOT}/defaults.json\" | sed -e 's/.*: *\"//' -e 's/\"[^\\n]*//' -e 's/\\/.*//')\";\n local NODE_BASE_URI=\"$(grep \"\\\"${NODE_REMOTE}\\\" *:\" \"${NVS_ROOT}/defaults.json\" | sed -e 's/.*: *\"//' -e 's/\"[^\\n]*//')\";\n local NODE_ARCHIVE_EXT=\".tar.gz\";\n local TAR_FLAGS=\"-zxvf\";\n if [ \"${NVS_OS}\" = \"win\" ]; then\n NODE_ARCHIVE_EXT=\".7z\";\n else\n if [ \"${NVS_USE_XZ}\" = \"1\" ]; then\n NODE_ARCHIVE_EXT=\".tar.xz\";\n TAR_FLAGS=\"-Jxvf\";\n fi;\n fi;\n local NODE_ARCH=\"$(uname -m | sed -e 's/x86_64/x64/;s/i86pc/x64/;s/i686/x86/;s/aarch64/arm64/')\";\n if [ \"${NVS_OS}\" = \"aix\" ]; then\n NODE_ARCH=\"ppc64\";\n fi;\n local NODE_FULLNAME=\"node-v${NODE_VERSION}-${NVS_OS}-${NODE_ARCH}\";\n local NODE_URI=\"${NODE_BASE_URI}v${NODE_VERSION}/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}\";\n local NODE_ARCHIVE=\"${NVS_HOME}/cache/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}\";\n if [ ! -d \"${NVS_HOME}/cache\" ]; then\n command mkdir -p \"${NVS_HOME}/cache\";\n fi;\n echo \"Downloading bootstrap node from ${NODE_URI}\";\n if type noglob > /dev/null 2>&1; then\n noglob curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\";\n else\n curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\";\n fi;\n if [ ! -f \"${NODE_ARCHIVE}\" ] && [ \"${NODE_ARCHIVE_EXT}\" = \".tar.xz\" ]; then\n NODE_ARCHIVE_EXT=\".tar.gz\";\n TAR_FLAGS=\"-zxvf\";\n NODE_ARCHIVE=\"${NVS_HOME}/cache/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}\";\n echo \"Retry download bootstrap node from ${NODE_URI} in gz format\";\n if type noglob > /dev/null 2>&1; then\n noglob curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\";\n else\n curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\";\n fi;\n fi;\n if [ ! -f \"${NODE_ARCHIVE}\" ]; then\n echo \"Failed to download node binary.\";\n return 1;\n fi;\n if [ \"${NVS_OS}\" = \"win\" ]; then\n \"${NVS_ROOT}/tools/7-Zip/7zr.exe\" e \"-o${NVS_HOME}/cache\" -y \"${NODE_ARCHIVE}\" \"${NODE_FULLNAME}/${NODE_EXE}\" > /dev/null 2>&1;\n else\n if [ \"${NVS_OS}\" = \"aix\" ]; then\n gunzip \"${NODE_ARCHIVE}\" | tar -xvC \"${NVS_HOME}/cache\" \"${NODE_FULLNAME}/bin/${NODE_EXE}\" > /dev/null 2>&1;\n else\n tar $TAR_FLAGS \"${NODE_ARCHIVE}\" -C \"${NVS_HOME}/cache\" \"${NODE_FULLNAME}/bin/${NODE_EXE}\" > /dev/null 2>&1;\n fi;\n mv \"${NVS_HOME}/cache/${NODE_FULLNAME}/bin/${NODE_EXE}\" \"${NVS_HOME}/cache/${NODE_EXE}\" > /dev/null 2>&1;\n rm -r \"${NVS_HOME}/cache/${NODE_FULLNAME}\" > /dev/null 2>&1;\n fi;\n if [ ! -f \"${NODE_PATH}\" ]; then\n echo \"Failed to setup node binary.\";\n return 1;\n fi;\n echo \"\";\n fi;\n local EXIT_CODE=0;\n case \"$@\" in \n \"cd\")\n local DIR=$PWD;\n while [ \"$DIR\" != \"\" -a ! \\( -e \"$DIR/.node-version\" -o -e \"$DIR/.nvmrc\" \\) ]; do\n if [ \"$DIR\" = \"/\" ]; then\n DIR=;\n else\n DIR=$(dirname \"$DIR\");\n fi;\n done;\n if [ \"$DIR\" != \"$NVS_AUTO_DIRECTORY\" ]; then\n command \"${NODE_PATH}\" \"${NVS_ROOT}/lib/index.js\" auto;\n EXIT_CODE=$?;\n fi;\n export NVS_AUTO_DIRECTORY=$DIR\n ;;\n *)\n command \"${NODE_PATH}\" \"${NVS_ROOT}/lib/index.js\" \"$@\";\n EXIT_CODE=$?\n ;;\n esac;\n if [ ${EXIT_CODE} = 2 ]; then\n rm \"${NODE_PATH}\";\n nvs $@;\n fi;\n if [ -f \"${NVS_POSTSCRIPT}\" ]; then\n . \"${NVS_POSTSCRIPT}\";\n command rm \"${NVS_POSTSCRIPT}\";\n unset NVS_POSTSCRIPT;\n fi;\n return $EXIT_CODE\n}",
|
298 |
+
"BASH_FUNC_nvsudo%%": "() { local NVS_CURRENT=`nvs which`;\n if [ -n \"${NVS_CURRENT}\" ]; then\n NVS_CURRENT=`dirname \"${NVS_CURRENT}\"`;\n fi;\n sudo \"NVS_CURRENT=${NVS_CURRENT}\" \"${NVS_ROOT}/nvs\" $*\n}",
|
299 |
+
"_": "/usr/bin/cat"
|
300 |
+
}
|
301 |
+
[2025-03-02T14:12:09.564Z] userEnvProbe PATHs:
|
302 |
+
Probe: '/home/codespace/.local/bin:/home/codespace/.dotnet:/home/codespace/nvm/current/bin:/home/codespace/.php/current/bin:/home/codespace/.python/current/bin:/home/codespace/java/current/bin:/home/codespace/.ruby/current/bin:/home/codespace/.local/bin:/usr/local/python/current/bin:/usr/local/py-utils/bin:/usr/local/oryx:/usr/local/go/bin:/go/bin:/usr/local/sdkman/bin:/usr/local/sdkman/candidates/java/current/bin:/usr/local/sdkman/candidates/gradle/current/bin:/usr/local/sdkman/candidates/maven/current/bin:/usr/local/sdkman/candidates/ant/current/bin:/usr/local/rvm/gems/default/bin:/usr/local/rvm/gems/default@global/bin:/usr/local/rvm/rubies/default/bin:/usr/local/share/rbenv/bin:/usr/local/php/current/bin:/opt/conda/bin:/usr/local/nvs:/usr/local/share/nvm/current/bin:/usr/local/hugo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/share/dotnet:/home/codespace/.dotnet/tools:/usr/local/rvm/bin'
|
303 |
+
Container: '/home/codespace/.dotnet:/home/codespace/nvm/current/bin:/home/codespace/.php/current/bin:/home/codespace/.python/current/bin:/home/codespace/java/current/bin:/home/codespace/.ruby/current/bin:/home/codespace/.local/bin:/usr/local/python/current/bin:/usr/local/py-utils/bin:/usr/local/oryx:/usr/local/go/bin:/go/bin:/usr/local/sdkman/bin:/usr/local/sdkman/candidates/java/current/bin:/usr/local/sdkman/candidates/gradle/current/bin:/usr/local/sdkman/candidates/maven/current/bin:/usr/local/sdkman/candidates/ant/current/bin:/usr/local/rvm/gems/default/bin:/usr/local/rvm/gems/default@global/bin:/usr/local/rvm/rubies/default/bin:/usr/local/share/rbenv/bin:/usr/local/php/current/bin:/opt/conda/bin:/usr/local/nvs:/usr/local/share/nvm/current/bin:/usr/local/hugo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/share/dotnet:~/.dotnet/tools'
|
304 |
+
[2025-03-02T14:12:09.564Z] Start: Run in container: mkdir -p '/workspaces/.codespaces/.persistedshare/devcontainers-cli/cache' && cat > '/workspaces/.codespaces/.persistedshare/devcontainers-cli/cache/env-loginInteractiveShell.json' << 'envJSON'
|
305 |
+
[2025-03-02T14:12:09.570Z]
|
306 |
+
[2025-03-02T14:12:09.570Z]
|
307 |
+
[2025-03-02T14:12:09.571Z] Stop (7 ms): Run in container: mkdir -p '/workspaces/.codespaces/.persistedshare/devcontainers-cli/cache' && cat > '/workspaces/.codespaces/.persistedshare/devcontainers-cli/cache/env-loginInteractiveShell.json' << 'envJSON'
|
308 |
+
[2025-03-02T14:12:09.571Z] Start: Run in container:
|
309 |
+
[2025-03-02T14:12:09.809Z] *
|
310 |
+
* Visual Studio Code Server
|
311 |
+
*
|
312 |
+
* By using the software, you agree to
|
313 |
+
* the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
|
314 |
+
* the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
|
315 |
+
*
|
316 |
+
[2025-03-02T14:12:09.815Z] Server bound to 127.0.0.1:37921 (IPv4)
|
317 |
+
Extension host agent listening on 37921
|
318 |
+
|
319 |
+
[2025-03-02T14:12:09.815Z] Stop (788 ms): Starting VS Code Server
|
320 |
+
[2025-03-02T14:12:09.816Z] Start: Run in container: echo 37921 >'/home/codespace/.vscode-remote/data/Machine/.devport-e54c774e0add60467559eb0d1e229c6452cf8447'
|
321 |
+
[2025-03-02T14:12:09.822Z]
|
322 |
+
[2025-03-02T14:12:09.822Z]
|
323 |
+
[2025-03-02T14:12:09.822Z] Stop (6 ms): Run in container: echo 37921 >'/home/codespace/.vscode-remote/data/Machine/.devport-e54c774e0add60467559eb0d1e229c6452cf8447'
|
324 |
+
[2025-03-02T14:12:09.823Z] Stop (1186 ms): Resolving Remote for VSC start
|
325 |
+
[2025-03-02T14:12:09.950Z] Ignoring option 'skip-requirements-check': not supported for server.
|
326 |
+
[2025-03-02T14:12:09.975Z] [14:12:09] Remote configuration data at /home/codespace/.vscode-remote
|
327 |
+
[14:12:09] process arguments: {
|
328 |
+
_: [],
|
329 |
+
host: '127.0.0.1',
|
330 |
+
port: '0',
|
331 |
+
'connection-token-file': '/home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447',
|
332 |
+
'without-connection-token': false,
|
333 |
+
'disable-websocket-compression': false,
|
334 |
+
'print-startup-performance': false,
|
335 |
+
'print-ip-address': false,
|
336 |
+
'accept-server-license-terms': ********,
|
337 |
+
'server-data-dir': '/home/codespace/.vscode-remote',
|
338 |
+
'enable-smoke-test-driver': false,
|
339 |
+
'disable-telemetry': false,
|
340 |
+
'disable-workspace-trust': false,
|
341 |
+
log: [ 'trace' ],
|
342 |
+
'force-disable-user-env': ********,
|
343 |
+
'enable-sync': false,
|
344 |
+
'use-test-resolver': false,
|
345 |
+
'extensions-download-dir': '/home/codespace/.vscode-remote/extensionsCache',
|
346 |
+
'install-builtin-extension': [
|
347 |
+
'GitHub.vscode-pull-request-github',
|
348 |
+
'github.github-vscode-theme',
|
349 |
+
'github.codespaces'
|
350 |
+
],
|
351 |
+
'update-extensions': false,
|
352 |
+
'list-extensions': false,
|
353 |
+
'show-versions': false,
|
354 |
+
force: false,
|
355 |
+
'do-not-sync': ********,
|
356 |
+
'do-not-include-pack-dependencies': false,
|
357 |
+
'pre-release': false,
|
358 |
+
'start-server': ********,
|
359 |
+
'enable-remote-auto-shutdown': ********,
|
360 |
+
'remote-auto-shutdown-without-delay': false,
|
361 |
+
'use-host-proxy': false,
|
362 |
+
'without-browser-env-var': false,
|
363 |
+
help: false,
|
364 |
+
version: false,
|
365 |
+
'user-data-dir': '/home/codespace/.vscode-remote/data',
|
366 |
+
'builtin-extensions-dir': '/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447/extensions',
|
367 |
+
'extensions-dir': '/home/codespace/.vscode-remote/extensions',
|
368 |
+
logsPath: '/home/codespace/.vscode-remote/data/logs/20250302T141209'
|
369 |
+
}
|
370 |
+
[2025-03-02T14:12:09.980Z] [14:12:09]
|
371 |
+
|
372 |
+
|
373 |
+
|
374 |
+
|
375 |
+
[2025-03-02T14:12:10.099Z] [14:12:10] [File Watcher (node.js)] Request to start watching: /home/codespace/.vscode-remote/data/Machine (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/home/codespace/.vscode-remote/data/Machine/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
|
376 |
+
[2025-03-02T14:12:10.112Z] [14:12:10] Installing builtin extensions passed via args...
|
377 |
+
[2025-03-02T14:12:10.113Z] [14:12:10] Started scanning system extensions
|
378 |
+
[2025-03-02T14:12:10.114Z] [14:12:10] Started scanning user extensions Er {
|
379 |
+
scheme: 'file',
|
380 |
+
authority: '',
|
381 |
+
path: '/home/codespace/.vscode-remote/extensions/extensions.json',
|
382 |
+
query: '',
|
383 |
+
fragment: '',
|
384 |
+
_formatted: 'file:///home/codespace/.vscode-remote/extensions/extensions.json',
|
385 |
+
_fsPath: null
|
386 |
+
}
|
387 |
+
[2025-03-02T14:12:10.117Z] [14:12:10] Extension host agent started.
|
388 |
+
[2025-03-02T14:12:10.157Z] [14:12:10] [File Watcher (node.js)] Started watching: '/home/codespace/.vscode-remote/data/Machine'
|
389 |
+
[2025-03-02T14:12:10.160Z] [14:12:10] [File Watcher (node.js)] Started watching: '/home/codespace/.vscode-remote/data/Machine/settings.json'
|
390 |
+
[2025-03-02T14:12:10.164Z] [14:12:10] [File Watcher (node.js)] Request to start watching: /home/codespace/.vscode-remote/extensions (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
|
391 |
+
[2025-03-02T14:12:10.164Z] [14:12:10] Error while reading the extension cache file: /home/codespace/.vscode-remote/data/CachedProfilesData/__default__profile__/extensions.builtin.cache Unable to read file '/home/codespace/.vscode-remote/data/CachedProfilesData/__default__profile__/extensions.builtin.cache' (Error: Unable to resolve nonexistent file '/home/codespace/.vscode-remote/data/CachedProfilesData/__default__profile__/extensions.builtin.cache')
|
392 |
+
[2025-03-02T14:12:10.165Z] [14:12:10] Started initializing default profile extensions in extensions installation folder. file:///home/codespace/.vscode-remote/extensions
|
393 |
+
[2025-03-02T14:12:10.183Z] [14:12:10] Deleting from cache /home/codespace/.vscode-remote/extensionsCache/dbaeumer.vscode-eslint-3.0.13
|
394 |
+
[14:12:10] Deleting from cache /home/codespace/.vscode-remote/extensionsCache/vscjava.vscode-java-dependency-0.24.1
|
395 |
+
[14:12:10] Deleting from cache /home/codespace/.vscode-remote/extensionsCache/ms-toolsai.jupyter-2025.2.2025021801
|
396 |
+
[2025-03-02T14:12:10.183Z] [14:12:10] Deleting from cache /home/codespace/.vscode-remote/extensionsCache/vscjava.vscode-java-test-0.43.0
|
397 |
+
[2025-03-02T14:12:10.184Z] [14:12:10] [File Watcher (node.js)] Started watching: '/home/codespace/.vscode-remote/extensions'
|
398 |
+
[2025-03-02T14:12:10.206Z] [14:12:10] ComputeTargetPlatform: linux-x64
|
399 |
+
[2025-03-02T14:12:10.249Z] [14:12:10] [File Watcher (node.js)] [raw] ["rename"] extensions.json
|
400 |
+
[14:12:10] [File Watcher (node.js)] [raw] ["change"] extensions.json
|
401 |
+
[14:12:10] [File Watcher (node.js)] [ADDED] /home/codespace/.vscode-remote/extensions/extensions.json
|
402 |
+
[2025-03-02T14:12:10.263Z] [14:12:10] Completed initializing default profile extensions in extensions installation folder. file:///home/codespace/.vscode-remote/extensions
|
403 |
+
[2025-03-02T14:12:10.264Z] [14:12:10] Scanned system extensions: 32
|
404 |
+
[2025-03-02T14:12:10.265Z] [14:12:10] Scanned user extensions: 0
|
405 |
+
[2025-03-02T14:12:10.268Z] [14:12:10] [File Watcher (node.js)] Request to start watching: /home/codespace/.vscode-remote/extensions/extensions.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>)
|
406 |
+
[2025-03-02T14:12:10.275Z] [14:12:10] ComputeTargetPlatform: linux-x64
|
407 |
+
[2025-03-02T14:12:10.277Z] [14:12:10] resolveShellEnv(): skipped (--force-disable-user-env)
|
408 |
+
[2025-03-02T14:12:10.280Z] [14:12:10] #1: https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery - begin POST g5 {
|
409 |
+
b: {
|
410 |
+
'X-Market-Client-Id': 'VSCode 1.97.2',
|
411 |
+
'User-Agent': 'VSCode 1.97.2 (Code)',
|
412 |
+
'X-Market-User-Id': 'e9b26ff1-1a7e-4ca5-a9cf-ea5a43576bbb',
|
413 |
+
'VSCode-SessionId': 'bcac30750ae971b6ebe30c59d2ff11acf4b93a8d1d27474154c481a4aabf4837',
|
414 |
+
'Content-Type': 'application/json',
|
415 |
+
Accept: 'application/json;api-version=3.0-preview.1',
|
416 |
+
'Accept-Encoding': 'gzip',
|
417 |
+
'Content-Length': '357'
|
418 |
+
},
|
419 |
+
a: [Object: null prototype] {
|
420 |
+
'X-Market-Client-Id': 'VSCode 1.97.2',
|
421 |
+
'User-Agent': 'VSCode 1.97.2 (Code)',
|
422 |
+
'X-Market-User-Id': 'e9b26ff1-1a7e-4ca5-a9cf-ea5a43576bbb',
|
423 |
+
'VSCode-SessionId': 'bcac30750ae971b6ebe30c59d2ff11acf4b93a8d1d27474154c481a4aabf4837',
|
424 |
+
'Content-Type': 'application/json',
|
425 |
+
Accept: 'application/json;api-version=3.0-preview.1',
|
426 |
+
'Accept-Encoding': 'gzip',
|
427 |
+
'Content-Length': '357'
|
428 |
+
}
|
429 |
+
}
|
430 |
+
[2025-03-02T14:12:10.311Z] [14:12:10] [File Watcher (node.js)] Started watching: '/home/codespace/.vscode-remote/extensions/extensions.json'
|
431 |
+
[2025-03-02T14:12:10.328Z] [14:12:10] [File Watcher (node.js)] >> normalized [ADDED] /home/codespace/.vscode-remote/extensions/extensions.json
|
432 |
+
[2025-03-02T14:12:10.348Z] [14:12:10] [File Watcher (node.js)] [CHANGED] /home/codespace/.vscode-remote/extensions/extensions.json
|
433 |
+
[2025-03-02T14:12:10.424Z] [14:12:10] [File Watcher (node.js)] >> normalized [CHANGED] /home/codespace/.vscode-remote/extensions/extensions.json
|
434 |
+
[2025-03-02T14:12:10.538Z] [14:12:10] #1: https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery - end POST 200 {
|
435 |
+
'cache-control': 'no-cache, no-store, must-revalidate',
|
436 |
+
pragma: 'no-cache',
|
437 |
+
'content-length': '2889',
|
438 |
+
'content-type': 'application/json; charset=utf-8; api-version=3.0-preview.1',
|
439 |
+
'content-encoding': 'gzip',
|
440 |
+
expires: '-1',
|
441 |
+
vary: 'Accept-Encoding',
|
442 |
+
p3p: 'CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"',
|
443 |
+
'set-cookie': [
|
444 |
+
'VstsSession=%7B%22PersistentSessionId%22%3A%22a00d43d5-d53c-4e76-a990-db6cb218e163%22%2C%22PendingAuthenticationSessionId%22%3A%2200000000-0000-0000-0000-000000000000%22%2C%22CurrentAuthenticationSessionId%22%3A%2200000000-0000-0000-0000-000000000000%22%2C%22SignInState%22%3A%7B%7D%7D;SameSite=None; domain=.visualstudio.com; expires=Mon, 02-Mar-2026 14:12:10 GMT; path=/; secure; HttpOnly'
|
445 |
+
],
|
446 |
+
'x-tfs-processid': 'dafc21a4-d949-4e3b-a354-0ed16aa0a242',
|
447 |
+
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
448 |
+
activityid: '012a324b-a4ee-4882-828b-41b7381c8969',
|
449 |
+
'x-tfs-session': '012a324b-a4ee-4882-828b-41b7381c8969',
|
450 |
+
'x-vss-e2eid': '012a324b-a4ee-4882-828b-41b7381c8969',
|
451 |
+
'x-vss-senderdeploymentid': '2663b13f-50e3-a655-a159-22f6f4725fab',
|
452 |
+
'request-context': 'appId=cid-v1:84715e31-583a-4723-a46d-946169b2f4a8',
|
453 |
+
'access-control-expose-headers': 'Request-Context',
|
454 |
+
'x-content-type-options': 'nosniff',
|
455 |
+
'x-cache': 'CONFIG_NOCACHE',
|
456 |
+
'x-msedge-ref': 'Ref A: C339C48D6ADA4258B0B9BF1CB8FCBE49 Ref B: SIN30EDGE0116 Ref C: 2025-03-02T14:12:10Z',
|
457 |
+
date: 'Sun, 02 Mar 2025 14:12:10 GMT'
|
458 |
+
}
|
459 |
+
[2025-03-02T14:12:10.541Z] [14:12:10] resolveShellEnv(): skipped (--force-disable-user-env)
|
460 |
+
[2025-03-02T14:12:10.542Z] [14:12:10] #2: https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery - begin POST g5 {
|
461 |
+
b: {
|
462 |
+
'X-Market-Client-Id': 'VSCode 1.97.2',
|
463 |
+
'User-Agent': 'VSCode 1.97.2 (Code)',
|
464 |
+
'X-Market-User-Id': 'e9b26ff1-1a7e-4ca5-a9cf-ea5a43576bbb',
|
465 |
+
'VSCode-SessionId': 'bcac30750ae971b6ebe30c59d2ff11acf4b93a8d1d27474154c481a4aabf4837',
|
466 |
+
'Content-Type': 'application/json',
|
467 |
+
Accept: 'application/json;api-version=3.0-preview.1',
|
468 |
+
'Accept-Encoding': 'gzip',
|
469 |
+
'Content-Length': '261'
|
470 |
+
},
|
471 |
+
a: [Object: null prototype] {
|
472 |
+
'X-Market-Client-Id': 'VSCode 1.97.2',
|
473 |
+
'User-Agent': 'VSCode 1.97.2 (Code)',
|
474 |
+
'X-Market-User-Id': 'e9b26ff1-1a7e-4ca5-a9cf-ea5a43576bbb',
|
475 |
+
'VSCode-SessionId': 'bcac30750ae971b6ebe30c59d2ff11acf4b93a8d1d27474154c481a4aabf4837',
|
476 |
+
'Content-Type': 'application/json',
|
477 |
+
Accept: 'application/json;api-version=3.0-preview.1',
|
478 |
+
'Accept-Encoding': 'gzip',
|
479 |
+
'Content-Length': '261'
|
480 |
+
}
|
481 |
+
}
|
482 |
+
[2025-03-02T14:12:10.744Z] [14:12:10] [127.0.0.1][68a3d1e4][ManagementConnection] New connection established.
|
483 |
+
[2025-03-02T14:12:10.785Z] [14:12:10] #2: https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery - end POST 200 {
|
484 |
+
'cache-control': 'no-cache, no-store, must-revalidate',
|
485 |
+
pragma: 'no-cache',
|
486 |
+
'transfer-encoding': 'chunked',
|
487 |
+
'content-type': 'application/json; charset=utf-8; api-version=3.0-preview.1',
|
488 |
+
'content-encoding': 'gzip',
|
489 |
+
expires: '-1',
|
490 |
+
vary: 'Accept-Encoding',
|
491 |
+
p3p: 'CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"',
|
492 |
+
'set-cookie': [
|
493 |
+
'VstsSession=%7B%22PersistentSessionId%22%3A%220af765e2-4198-45d6-886d-3b270b6b14e3%22%2C%22PendingAuthenticationSessionId%22%3A%2200000000-0000-0000-0000-000000000000%22%2C%22CurrentAuthenticationSessionId%22%3A%2200000000-0000-0000-0000-000000000000%22%2C%22SignInState%22%3A%7B%7D%7D;SameSite=None; domain=.visualstudio.com; expires=Mon, 02-Mar-2026 14:12:10 GMT; path=/; secure; HttpOnly'
|
494 |
+
],
|
495 |
+
'x-tfs-processid': '1575c8db-c9e6-4603-ad84-c7690843b84a',
|
496 |
+
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
497 |
+
activityid: '6429e82a-b5ba-4323-a4b3-a5298139b6cf',
|
498 |
+
'x-tfs-session': '6429e82a-b5ba-4323-a4b3-a5298139b6cf',
|
499 |
+
'x-vss-e2eid': '6429e82a-b5ba-4323-a4b3-a5298139b6cf',
|
500 |
+
'x-vss-senderdeploymentid': '2663b13f-50e3-a655-a159-22f6f4725fab',
|
501 |
+
'request-context': 'appId=cid-v1:84715e31-583a-4723-a46d-946169b2f4a8',
|
502 |
+
'access-control-expose-headers': 'Request-Context',
|
503 |
+
'x-content-type-options': 'nosniff',
|
504 |
+
'x-cache': 'CONFIG_NOCACHE',
|
505 |
+
'x-msedge-ref': 'Ref A: 40DAE1FFAACD4665979BE07007B4DFEC Ref B: SIN30EDGE0116 Ref C: 2025-03-02T14:12:10Z',
|
506 |
+
date: 'Sun, 02 Mar 2025 14:12:10 GMT'
|
507 |
+
}
|
508 |
+
[2025-03-02T14:12:10.813Z] [14:12:10] [127.0.0.1][93f624fe][ExtensionHostConnection] - startParams language: ja
|
509 |
+
[2025-03-02T14:12:10.814Z] [14:12:10] [127.0.0.1][93f624fe][ExtensionHostConnection] - startParams env: {}
|
510 |
+
[2025-03-02T14:12:10.816Z] [14:12:10] [127.0.0.1][93f624fe][ExtensionHostConnection] New connection established.
|
511 |
+
[2025-03-02T14:12:10.818Z] [14:12:10] resolveShellEnv(): skipped (--force-disable-user-env)
|
512 |
+
[2025-03-02T14:12:10.825Z] [14:12:10] [127.0.0.1][93f624fe][ExtensionHostConnection] <2159> Launched Extension Host Process.
|
513 |
+
[2025-03-02T14:12:11.002Z] [14:12:11] ExtensionManagementService.updateControlCache
|
514 |
+
[2025-03-02T14:12:11.002Z] [14:12:11] resolveShellEnv(): skipped (--force-disable-user-env)
|
515 |
+
[14:12:11] Started scanning system extensions
|
516 |
+
[14:12:11] Started scanning user extensions Er {
|
517 |
+
scheme: 'file',
|
518 |
+
authority: '',
|
519 |
+
path: '/home/codespace/.vscode-remote/extensions/extensions.json',
|
520 |
+
query: '',
|
521 |
+
fragment: '',
|
522 |
+
_formatted: 'file:///home/codespace/.vscode-remote/extensions/extensions.json',
|
523 |
+
_fsPath: '/home/codespace/.vscode-remote/extensions/extensions.json'
|
524 |
+
}
|
525 |
+
[2025-03-02T14:12:11.013Z] [14:12:11] Log level changed to info
|
526 |
+
[2025-03-02T14:12:11.676Z] [14:12:11] Installing builtin extension 'github.github-vscode-theme'...
|
527 |
+
[2025-03-02T14:12:11.678Z] [14:12:11] Installing builtin extension 'github.vscode-pull-request-github'...
|
528 |
+
[2025-03-02T14:12:11.679Z] [14:12:11] Installing builtin extension 'github.codespaces'...
|
529 |
+
[2025-03-02T14:12:11.681Z] [14:12:11] Getting Manifest... github.github-vscode-theme
|
530 |
+
[2025-03-02T14:12:11.682Z] [14:12:11] Getting Manifest... github.vscode-pull-request-github
|
531 |
+
[2025-03-02T14:12:11.683Z] [14:12:11] Getting Manifest... github.codespaces
|
532 |
+
[2025-03-02T14:12:11.698Z] [14:12:11] Installing extension: github.vscode-pull-request-github {
|
533 |
+
isMachineScoped: ********,
|
534 |
+
installPreReleaseVersion: false,
|
535 |
+
isBuiltin: ********,
|
536 |
+
installGivenVersion: false,
|
537 |
+
isApplicationScoped: ********,
|
538 |
+
installOnlyNewlyAddedFromExtensionPack: ********,
|
539 |
+
profileLocation: Er {
|
540 |
+
scheme: 'file',
|
541 |
+
authority: '',
|
542 |
+
path: '/home/codespace/.vscode-remote/extensions/extensions.json',
|
543 |
+
query: '',
|
544 |
+
fragment: '',
|
545 |
+
_formatted: 'file:///home/codespace/.vscode-remote/extensions/extensions.json',
|
546 |
+
_fsPath: '/home/codespace/.vscode-remote/extensions/extensions.json'
|
547 |
+
},
|
548 |
+
productVersion: { version: '1.97.2', date: '2025-02-12T23:20:35.343Z' }
|
549 |
+
}
|
550 |
+
[2025-03-02T14:12:11.702Z] [14:12:11] Installing extension: github.github-vscode-theme {
|
551 |
+
isMachineScoped: ********,
|
552 |
+
installPreReleaseVersion: false,
|
553 |
+
isBuiltin: ********,
|
554 |
+
installGivenVersion: false,
|
555 |
+
isApplicationScoped: ********,
|
556 |
+
installOnlyNewlyAddedFromExtensionPack: ********,
|
557 |
+
profileLocation: Er {
|
558 |
+
scheme: 'file',
|
559 |
+
authority: '',
|
560 |
+
path: '/home/codespace/.vscode-remote/extensions/extensions.json',
|
561 |
+
query: '',
|
562 |
+
fragment: '',
|
563 |
+
_formatted: 'file:///home/codespace/.vscode-remote/extensions/extensions.json',
|
564 |
+
_fsPath: '/home/codespace/.vscode-remote/extensions/extensions.json'
|
565 |
+
},
|
566 |
+
productVersion: { version: '1.97.2', date: '2025-02-12T23:20:35.343Z' }
|
567 |
+
}
|
568 |
+
[2025-03-02T14:12:11.703Z] [14:12:11] Installing extension: github.codespaces {
|
569 |
+
isMachineScoped: ********,
|
570 |
+
installPreReleaseVersion: false,
|
571 |
+
isBuiltin: ********,
|
572 |
+
installGivenVersion: false,
|
573 |
+
isApplicationScoped: ********,
|
574 |
+
installOnlyNewlyAddedFromExtensionPack: ********,
|
575 |
+
profileLocation: Er {
|
576 |
+
scheme: 'file',
|
577 |
+
authority: '',
|
578 |
+
path: '/home/codespace/.vscode-remote/extensions/extensions.json',
|
579 |
+
query: '',
|
580 |
+
fragment: '',
|
581 |
+
_formatted: 'file:///home/codespace/.vscode-remote/extensions/extensions.json',
|
582 |
+
_fsPath: '/home/codespace/.vscode-remote/extensions/extensions.json'
|
583 |
+
},
|
584 |
+
productVersion: { version: '1.97.2', date: '2025-02-12T23:20:35.343Z' }
|
585 |
+
}
|
586 |
+
[2025-03-02T14:12:14.701Z] [14:12:14] Extension signature verification result for github.github-vscode-theme: Success. Executed: ********. Duration: 2616ms.
|
587 |
+
[2025-03-02T14:12:14.857Z] [14:12:14] Extension signature verification result for github.codespaces: Success. Executed: ********. Duration: 2754ms.
|
588 |
+
[2025-03-02T14:12:14.858Z] [14:12:14] Extracted extension to file:///home/codespace/.vscode-remote/extensions/github.github-vscode-theme-6.3.5: github.github-vscode-theme
|
589 |
+
[2025-03-02T14:12:14.886Z] [14:12:14] Renamed to /home/codespace/.vscode-remote/extensions/github.github-vscode-theme-6.3.5
|
590 |
+
[2025-03-02T14:12:14.909Z] [14:12:14] Extension signature verification result for github.vscode-pull-request-github: Success. Executed: ********. Duration: 2515ms.
|
591 |
+
[2025-03-02T14:12:15.139Z] [14:12:15] Extracted extension to file:///home/codespace/.vscode-remote/extensions/github.vscode-pull-request-github-0.104.1: github.vscode-pull-request-github
|
592 |
+
[2025-03-02T14:12:15.174Z] [14:12:15] Renamed to /home/codespace/.vscode-remote/extensions/github.vscode-pull-request-github-0.104.1
|
593 |
+
[2025-03-02T14:12:15.401Z] [14:12:15] Extracted extension to file:///home/codespace/.vscode-remote/extensions/github.codespaces-1.17.3: github.codespaces
|
594 |
+
[2025-03-02T14:12:15.438Z] [14:12:15] Renamed to /home/codespace/.vscode-remote/extensions/github.codespaces-1.17.3
|
595 |
+
[2025-03-02T14:12:15.454Z] [14:12:15] Extension installed successfully: github.github-vscode-theme file:///home/codespace/.vscode-remote/extensions/extensions.json
|
596 |
+
[14:12:15] Extension installed successfully: github.vscode-pull-request-github file:///home/codespace/.vscode-remote/extensions/extensions.json
|
597 |
+
[2025-03-02T14:12:15.454Z] [14:12:15] Extension installed successfully: github.codespaces file:///home/codespace/.vscode-remote/extensions/extensions.json
|
598 |
+
[2025-03-02T14:12:15.459Z] [14:12:15] Extension 'github.github-vscode-theme' v6.3.5 was successfully installed.
|
599 |
+
[2025-03-02T14:12:15.459Z] [14:12:15] Extension 'github.vscode-pull-request-github' v0.104.1 was successfully installed.
|
600 |
+
[2025-03-02T14:12:15.459Z] [14:12:15] Extension 'github.codespaces' v1.17.3 was successfully installed.
|
601 |
+
[2025-03-02T14:12:15.483Z] [14:12:15] Installing extensions...
|
602 |
+
[2025-03-02T14:12:15.766Z] [14:12:15] Installing extension 'ms-ceintl.vscode-language-pack-ja'...
|
603 |
+
[2025-03-02T14:12:16.004Z] [14:12:16] Getting Manifest... ms-ceintl.vscode-language-pack-ja
|
604 |
+
[2025-03-02T14:12:16.022Z] [14:12:16] Installing extension: ms-ceintl.vscode-language-pack-ja {
|
605 |
+
isMachineScoped: ********,
|
606 |
+
isBuiltin: false,
|
607 |
+
installPreReleaseVersion: undefined,
|
608 |
+
installGivenVersion: false,
|
609 |
+
isApplicationScoped: ********,
|
610 |
+
installOnlyNewlyAddedFromExtensionPack: ********,
|
611 |
+
profileLocation: Er {
|
612 |
+
scheme: 'file',
|
613 |
+
authority: '',
|
614 |
+
path: '/home/codespace/.vscode-remote/extensions/extensions.json',
|
615 |
+
query: '',
|
616 |
+
fragment: '',
|
617 |
+
_formatted: 'file:///home/codespace/.vscode-remote/extensions/extensions.json',
|
618 |
+
_fsPath: '/home/codespace/.vscode-remote/extensions/extensions.json'
|
619 |
+
},
|
620 |
+
productVersion: { version: '1.97.2', date: '2025-02-12T23:20:35.343Z' }
|
621 |
+
}
|
622 |
+
[2025-03-02T14:12:17.045Z] [14:12:17] Extension signature verification result for ms-ceintl.vscode-language-pack-ja: Success. Executed: ********. Duration: 672ms.
|
623 |
+
[2025-03-02T14:12:17.127Z] [14:12:17] Extracted extension to file:///home/codespace/.vscode-remote/extensions/ms-ceintl.vscode-language-pack-ja-1.97.2025021209: ms-ceintl.vscode-language-pack-ja
|
624 |
+
[2025-03-02T14:12:17.133Z] [14:12:17] Renamed to /home/codespace/.vscode-remote/extensions/ms-ceintl.vscode-language-pack-ja-1.97.2025021209
|
625 |
+
[2025-03-02T14:12:17.141Z] [14:12:17] Adding language packs from the extension ms-ceintl.vscode-language-pack-ja
|
626 |
+
[2025-03-02T14:12:17.188Z] [14:12:17] Extension installed successfully: ms-ceintl.vscode-language-pack-ja file:///home/codespace/.vscode-remote/extensions/extensions.json
|
627 |
+
[2025-03-02T14:12:17.189Z] [14:12:17] Extension 'ms-ceintl.vscode-language-pack-ja' v1.97.2025021209 was successfully installed.
|
628 |
+
[2025-03-02T14:12:29.891Z] @microsoft/vscode-dev-containers-cli 0.93.0.
|
629 |
+
[2025-03-02T14:12:29.891Z] Start: Resolving Remote for VSC start
|
630 |
+
[2025-03-02T14:12:29.893Z] Start: Run: docker ps -q -a --filter label=Type=codespaces
|
631 |
+
[2025-03-02T14:12:29.919Z] Stop (26 ms): Run: docker ps -q -a --filter label=Type=codespaces
|
632 |
+
[2025-03-02T14:12:29.921Z] Start: Run: docker inspect --type container ebceffe8415a
|
633 |
+
[2025-03-02T14:12:29.966Z] Stop (45 ms): Run: docker inspect --type container ebceffe8415a
|
634 |
+
[2025-03-02T14:12:29.968Z] Start: Inspecting container
|
635 |
+
[2025-03-02T14:12:29.968Z] Stop (0 ms): Inspecting container
|
636 |
+
[2025-03-02T14:12:29.969Z] Start: Run in container: /bin/sh
|
637 |
+
[2025-03-02T14:12:29.973Z] Start: Run in container: uname -m
|
638 |
+
[2025-03-02T14:12:30.047Z] x86_64
|
639 |
+
[2025-03-02T14:12:30.047Z]
|
640 |
+
[2025-03-02T14:12:30.047Z] Stop (74 ms): Run in container: uname -m
|
641 |
+
[2025-03-02T14:12:30.047Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
|
642 |
+
[2025-03-02T14:12:30.050Z] NAME="Ubuntu"
|
643 |
+
VERSION="20.04.6 LTS (Focal Fossa)"
|
644 |
+
ID=ubuntu
|
645 |
+
ID_LIKE=debian
|
646 |
+
PRETTY_NAME="Ubuntu 20.04.6 LTS"
|
647 |
+
VERSION_ID="20.04"
|
648 |
+
HOME_URL="https://www.ubuntu.com/"
|
649 |
+
SUPPORT_URL="https://help.ubuntu.com/"
|
650 |
+
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
|
651 |
+
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
|
652 |
+
VERSION_CODENAME=focal
|
653 |
+
UBUNTU_CODENAME=focal
|
654 |
+
[2025-03-02T14:12:30.050Z]
|
655 |
+
[2025-03-02T14:12:30.050Z] Stop (3 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
|
656 |
+
[2025-03-02T14:12:30.050Z] Start: Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'codespace' || grep -E '^codespace|^[^:]*:[^:]*:codespace:' /etc/passwd || ********)
|
657 |
+
[2025-03-02T14:12:30.053Z] Stop (3 ms): Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'codespace' || grep -E '^codespace|^[^:]*:[^:]*:codespace:' /etc/passwd || ********)
|
658 |
+
[2025-03-02T14:12:30.054Z] Start: Run in container: test -d '/home/codespace/.vscode-remote'
|
659 |
+
[2025-03-02T14:12:30.054Z]
|
660 |
+
[2025-03-02T14:12:30.055Z]
|
661 |
+
[2025-03-02T14:12:30.055Z] Stop (1 ms): Run in container: test -d '/home/codespace/.vscode-remote'
|
662 |
+
[2025-03-02T14:12:30.055Z] Start: Run in container: test ! -f '/home/codespace/.vscode-remote/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/home/codespace/.vscode-remote/data/Machine' && { > '/home/codespace/.vscode-remote/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
|
663 |
+
[2025-03-02T14:12:30.056Z]
|
664 |
+
[2025-03-02T14:12:30.056Z]
|
665 |
+
[2025-03-02T14:12:30.056Z] Exit code 1
|
666 |
+
[2025-03-02T14:12:30.056Z] Stop (1 ms): Run in container: test ! -f '/home/codespace/.vscode-remote/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/home/codespace/.vscode-remote/data/Machine' && { > '/home/codespace/.vscode-remote/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
|
667 |
+
[2025-03-02T14:12:30.056Z] Start: Run in container: cat /home/codespace/.vscode-remote/data/Machine/settings.json
|
668 |
+
[2025-03-02T14:12:30.058Z] {
|
669 |
+
"go.toolsManagement.checkForUpdates": "local",
|
670 |
+
"go.useLanguageServer": ********,
|
671 |
+
"go.gopath": "/go",
|
672 |
+
"python.defaultInterpreterPath": "/home/codespace/.python/current/bin/python3",
|
673 |
+
"jupyter.kernels.filter": [
|
674 |
+
{
|
675 |
+
"path": "/opt/conda/bin/python",
|
676 |
+
"type": "pythonEnvironment"
|
677 |
+
},
|
678 |
+
{
|
679 |
+
"path": "/bin/python2",
|
680 |
+
"type": "pythonEnvironment"
|
681 |
+
},
|
682 |
+
{
|
683 |
+
"path": "/usr/bin/python2",
|
684 |
+
"type": "pythonEnvironment"
|
685 |
+
},
|
686 |
+
{
|
687 |
+
"path": "/usr/local/python/current/bin/python3",
|
688 |
+
"type": "pythonEnvironment"
|
689 |
+
},
|
690 |
+
{
|
691 |
+
"path": "/usr/local/python/current/bin/python",
|
692 |
+
"type": "pythonEnvironment"
|
693 |
+
},
|
694 |
+
{
|
695 |
+
"path": "/usr/bin/python3",
|
696 |
+
"type": "pythonEnvironment"
|
697 |
+
},
|
698 |
+
{
|
699 |
+
"path": "/bin/python3",
|
700 |
+
"type": "pythonEnvironment"
|
701 |
+
}
|
702 |
+
],
|
703 |
+
"lldb.executable": "/usr/bin/lldb"
|
704 |
+
}
|
705 |
+
[2025-03-02T14:12:30.058Z]
|
706 |
+
[2025-03-02T14:12:30.058Z] Stop (2 ms): Run in container: cat /home/codespace/.vscode-remote/data/Machine/settings.json
|
707 |
+
[2025-03-02T14:12:30.059Z] Start: Run in container: test -d '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447'
|
708 |
+
[2025-03-02T14:12:30.060Z]
|
709 |
+
[2025-03-02T14:12:30.060Z]
|
710 |
+
[2025-03-02T14:12:30.060Z] Stop (1 ms): Run in container: test -d '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447'
|
711 |
+
[2025-03-02T14:12:30.060Z] Start: Run in container: test -d '/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447'
|
712 |
+
[2025-03-02T14:12:30.061Z]
|
713 |
+
[2025-03-02T14:12:30.061Z]
|
714 |
+
[2025-03-02T14:12:30.061Z] Stop (1 ms): Run in container: test -d '/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447'
|
715 |
+
[2025-03-02T14:12:30.061Z] Start: Run in container: /bin/sh
|
716 |
+
[2025-03-02T14:12:30.063Z] Start: Run in container: test -x '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447/bin/helpers/check-requirements.sh'
|
717 |
+
[2025-03-02T14:12:30.063Z] Start: Run in container: touch '/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447'
|
718 |
+
[2025-03-02T14:12:30.065Z]
|
719 |
+
[2025-03-02T14:12:30.065Z]
|
720 |
+
[2025-03-02T14:12:30.065Z] Stop (2 ms): Run in container: test -x '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447/bin/helpers/check-requirements.sh'
|
721 |
+
[2025-03-02T14:12:30.065Z] Start: Run in container: '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447/bin/helpers/check-requirements.sh'
|
722 |
+
[2025-03-02T14:12:30.137Z]
|
723 |
+
[2025-03-02T14:12:30.137Z]
|
724 |
+
[2025-03-02T14:12:30.137Z] Stop (74 ms): Run in container: touch '/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447'
|
725 |
+
[2025-03-02T14:12:30.148Z]
|
726 |
+
[2025-03-02T14:12:30.148Z]
|
727 |
+
[2025-03-02T14:12:30.148Z] Stop (83 ms): Run in container: '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447/bin/helpers/check-requirements.sh'
|
728 |
+
[2025-03-02T14:12:30.148Z] userEnvProbe: loginInteractiveShell (default)
|
729 |
+
[2025-03-02T14:12:30.149Z] Start: Run in container: test -f '/workspaces/.codespaces/.persistedshare/devcontainers-cli/cache/env-loginInteractiveShell.json'
|
730 |
+
[2025-03-02T14:12:30.150Z]
|
731 |
+
[2025-03-02T14:12:30.150Z]
|
732 |
+
[2025-03-02T14:12:30.150Z] Stop (1 ms): Run in container: test -f '/workspaces/.codespaces/.persistedshare/devcontainers-cli/cache/env-loginInteractiveShell.json'
|
733 |
+
[2025-03-02T14:12:30.150Z] Start: Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd || echo ; readlink /proc/$pid/ns/mnt || echo ; cat /proc/$pid/stat | tr "
|
734 |
+
[2025-03-02T14:12:30.564Z] Stop (414 ms): Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd || echo ; readlink /proc/$pid/ns/mnt || echo ; cat /proc/$pid/stat | tr "
|
735 |
+
[2025-03-02T14:12:30.564Z] Start: Run in container: cat '/workspaces/.codespaces/.persistedshare/devcontainers-cli/cache/env-loginInteractiveShell.json'
|
736 |
+
[2025-03-02T14:12:30.570Z] {
|
737 |
+
"SHELL": "/bin/bash",
|
738 |
+
"NUGET_XMLDOC_MODE": "skip",
|
739 |
+
"NVM_INC": "/usr/local/share/nvm/versions/node/v20.18.1/include/node",
|
740 |
+
"rvm_prefix": "/usr/local",
|
741 |
+
"HOSTNAME": "codespaces-9cefb6",
|
742 |
+
"JAVA_ROOT": "/home/codespace/java",
|
743 |
+
"JAVA_HOME": "/usr/local/sdkman/candidates/java/current",
|
744 |
+
"DOTNET_ROOT": "/usr/share/dotnet",
|
745 |
+
"CODESPACES": "********",
|
746 |
+
"GRADLE_HOME": "/usr/local/sdkman/candidates/gradle/current",
|
747 |
+
"PYTHON_ROOT": "/home/codespace/.python",
|
748 |
+
"rvm_stored_umask": "0022",
|
749 |
+
"NVS_DIR": "/usr/local/nvs",
|
750 |
+
"NVS_OS": "linux",
|
751 |
+
"DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "1",
|
752 |
+
"MY_RUBY_HOME": "/usr/local/rvm/rubies/ruby-3.3.4",
|
753 |
+
"NVS_USE_XZ": "1",
|
754 |
+
"SDKMAN_CANDIDATES_DIR": "/usr/local/sdkman/candidates",
|
755 |
+
"RUBY_VERSION": "ruby-3.3.4",
|
756 |
+
"PIPX_BIN_DIR": "/usr/local/py-utils/bin",
|
757 |
+
"rvm_version": "1.29.12 (latest)",
|
758 |
+
"ORYX_DIR": "/usr/local/oryx",
|
759 |
+
"rvm_user_install_flag": "0",
|
760 |
+
"ContainerVersion": "13",
|
761 |
+
"HUGO_ROOT": "/home/codespace/.hugo",
|
762 |
+
"NPM_GLOBAL": "/home/codespace/.npm-global",
|
763 |
+
"HOME": "/home/codespace",
|
764 |
+
"LANG": "C.UTF-8",
|
765 |
+
"LS_COLORS": "",
|
766 |
+
"DYNAMIC_INSTALL_ROOT_DIR": "/opt",
|
767 |
+
"NVM_SYMLINK_CURRENT": "********",
|
768 |
+
"PHP_PATH": "/usr/local/php/current",
|
769 |
+
"DEBIAN_FLAVOR": "focal-scm",
|
770 |
+
"PHP_ROOT": "/home/codespace/.php",
|
771 |
+
"ORYX_ENV_TYPE": "vsonline-present",
|
772 |
+
"HUGO_DIR": "/usr/local/hugo/bin",
|
773 |
+
"DOCKER_BUILDKIT": "1",
|
774 |
+
"GOROOT": "/usr/local/go",
|
775 |
+
"SHELL_LOGGED_IN": "********",
|
776 |
+
"PYTHON_PATH": "/usr/local/python/current",
|
777 |
+
"NVM_DIR": "/usr/local/share/nvm",
|
778 |
+
"rvm_bin_path": "/usr/local/rvm/bin",
|
779 |
+
"GEM_PATH": "/usr/local/rvm/gems/ruby-3.3.4:/usr/local/rvm/gems/ruby-3.3.4@global",
|
780 |
+
"GEM_HOME": "/usr/local/rvm/gems/ruby-3.3.4",
|
781 |
+
"LESSCLOSE": "/usr/bin/lesspipe %s %s",
|
782 |
+
"NVS_ROOT": "/usr/local/nvs",
|
783 |
+
"LESSOPEN": "| /usr/bin/lesspipe %s",
|
784 |
+
"USER": "codespace",
|
785 |
+
"NODE_ROOT": "/home/codespace/nvm",
|
786 |
+
"PYTHONIOENCODING": "UTF-8",
|
787 |
+
"NVS_HOME": "/usr/local/nvs",
|
788 |
+
"PIPX_HOME": "/usr/local/py-utils",
|
789 |
+
"rvm_loaded_flag": "1",
|
790 |
+
"CONDA_SCRIPT": "/opt/conda/etc/profile.d/conda.sh",
|
791 |
+
"MAVEN_HOME": "/usr/local/sdkman/candidates/maven/current",
|
792 |
+
"SDKMAN_DIR": "/usr/local/sdkman",
|
793 |
+
"SHLVL": "1",
|
794 |
+
"NVM_CD_FLAGS": "",
|
795 |
+
"ORYX_SDK_STORAGE_BASE_URL": "https://oryx-cdn.microsoft.io",
|
796 |
+
"CONDA_DIR": "/opt/conda",
|
797 |
+
"PROMPT_DIRTRIM": "4",
|
798 |
+
"SDKMAN_CANDIDATES_API": "https://api.sdkman.io/2",
|
799 |
+
"DOTNET_RUNNING_IN_CONTAINER": "********",
|
800 |
+
"DOTNET_USE_POLLING_FILE_WATCHER": "********",
|
801 |
+
"ENABLE_DYNAMIC_INSTALL": "********",
|
802 |
+
"MAVEN_ROOT": "/home/codespace/.maven",
|
803 |
+
"ORYX_PREFER_USER_INSTALLED_SDKS": "********",
|
804 |
+
"JUPYTERLAB_PATH": "/home/codespace/.local/bin",
|
805 |
+
"RVM_PATH": "/usr/local/rvm",
|
806 |
+
"RAILS_DEVELOPMENT_HOSTS": ".githubpreview.dev,.preview.********,.********",
|
807 |
+
"RUBY_ROOT": "/home/codespace/.ruby",
|
808 |
+
"RUBY_HOME": "/usr/local/rvm/rubies/default",
|
809 |
+
"PATH": "/home/codespace/.local/bin:/home/codespace/.dotnet:/home/codespace/nvm/current/bin:/home/codespace/.php/current/bin:/home/codespace/.python/current/bin:/home/codespace/java/current/bin:/home/codespace/.ruby/current/bin:/home/codespace/.local/bin:/usr/local/python/current/bin:/usr/local/py-utils/bin:/usr/local/oryx:/usr/local/go/bin:/go/bin:/usr/local/sdkman/bin:/usr/local/sdkman/candidates/java/current/bin:/usr/local/sdkman/candidates/gradle/current/bin:/usr/local/sdkman/candidates/maven/current/bin:/usr/local/sdkman/candidates/ant/current/bin:/usr/local/rvm/gems/default/bin:/usr/local/rvm/gems/default@global/bin:/usr/local/rvm/rubies/default/bin:/usr/local/share/rbenv/bin:/usr/local/php/current/bin:/opt/conda/bin:/usr/local/nvs:/usr/local/share/nvm/current/bin:/usr/local/hugo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/share/dotnet:/home/codespace/.dotnet/tools:/usr/local/rvm/bin",
|
810 |
+
"SDKMAN_PLATFORM": "linuxx64",
|
811 |
+
"NVM_BIN": "/usr/local/share/nvm/versions/node/v20.18.1/bin",
|
812 |
+
"IRBRC": "/usr/local/rvm/rubies/ruby-3.3.4/.irbrc",
|
813 |
+
"rvm_path": "/usr/local/rvm",
|
814 |
+
"OLDPWD": "/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447",
|
815 |
+
"GOPATH": "/go",
|
816 |
+
"BASH_FUNC_nvs%%": "() { if [ -z \"${NVS_HOME}\" ]; then\n export NVS_HOME=\"${NVS_ROOT}\";\n fi;\n export NVS_POSTSCRIPT=\"${NVS_HOME}/nvs_tmp_$(dd if=/dev/urandom count=1 2> /dev/null | cksum | cut -f1 -d\" \").sh\";\n local NODE_EXE=\"node\";\n if [ \"${NVS_OS}\" = \"win\" ]; then\n NODE_EXE=\"node.exe\";\n fi;\n local NODE_PATH=\"${NVS_HOME}/cache/${NODE_EXE}\";\n if [ ! -f \"${NODE_PATH}\" ]; then\n local NODE_VERSION=\"$(grep '\"bootstrap\" *:' \"${NVS_ROOT}/defaults.json\" | sed -e 's/.*: *\"//' -e 's/\"[^\\n]*//' -e 's/.*\\///')\";\n local NODE_REMOTE=\"$(grep '\"bootstrap\" *:' \"${NVS_ROOT}/defaults.json\" | sed -e 's/.*: *\"//' -e 's/\"[^\\n]*//' -e 's/\\/.*//')\";\n local NODE_BASE_URI=\"$(grep \"\\\"${NODE_REMOTE}\\\" *:\" \"${NVS_ROOT}/defaults.json\" | sed -e 's/.*: *\"//' -e 's/\"[^\\n]*//')\";\n local NODE_ARCHIVE_EXT=\".tar.gz\";\n local TAR_FLAGS=\"-zxvf\";\n if [ \"${NVS_OS}\" = \"win\" ]; then\n NODE_ARCHIVE_EXT=\".7z\";\n else\n if [ \"${NVS_USE_XZ}\" = \"1\" ]; then\n NODE_ARCHIVE_EXT=\".tar.xz\";\n TAR_FLAGS=\"-Jxvf\";\n fi;\n fi;\n local NODE_ARCH=\"$(uname -m | sed -e 's/x86_64/x64/;s/i86pc/x64/;s/i686/x86/;s/aarch64/arm64/')\";\n if [ \"${NVS_OS}\" = \"aix\" ]; then\n NODE_ARCH=\"ppc64\";\n fi;\n local NODE_FULLNAME=\"node-v${NODE_VERSION}-${NVS_OS}-${NODE_ARCH}\";\n local NODE_URI=\"${NODE_BASE_URI}v${NODE_VERSION}/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}\";\n local NODE_ARCHIVE=\"${NVS_HOME}/cache/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}\";\n if [ ! -d \"${NVS_HOME}/cache\" ]; then\n command mkdir -p \"${NVS_HOME}/cache\";\n fi;\n echo \"Downloading bootstrap node from ${NODE_URI}\";\n if type noglob > /dev/null 2>&1; then\n noglob curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\";\n else\n curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\";\n fi;\n if [ ! -f \"${NODE_ARCHIVE}\" ] && [ \"${NODE_ARCHIVE_EXT}\" = \".tar.xz\" ]; then\n NODE_ARCHIVE_EXT=\".tar.gz\";\n TAR_FLAGS=\"-zxvf\";\n NODE_ARCHIVE=\"${NVS_HOME}/cache/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}\";\n echo \"Retry download bootstrap node from ${NODE_URI} in gz format\";\n if type noglob > /dev/null 2>&1; then\n noglob curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\";\n else\n curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\";\n fi;\n fi;\n if [ ! -f \"${NODE_ARCHIVE}\" ]; then\n echo \"Failed to download node binary.\";\n return 1;\n fi;\n if [ \"${NVS_OS}\" = \"win\" ]; then\n \"${NVS_ROOT}/tools/7-Zip/7zr.exe\" e \"-o${NVS_HOME}/cache\" -y \"${NODE_ARCHIVE}\" \"${NODE_FULLNAME}/${NODE_EXE}\" > /dev/null 2>&1;\n else\n if [ \"${NVS_OS}\" = \"aix\" ]; then\n gunzip \"${NODE_ARCHIVE}\" | tar -xvC \"${NVS_HOME}/cache\" \"${NODE_FULLNAME}/bin/${NODE_EXE}\" > /dev/null 2>&1;\n else\n tar $TAR_FLAGS \"${NODE_ARCHIVE}\" -C \"${NVS_HOME}/cache\" \"${NODE_FULLNAME}/bin/${NODE_EXE}\" > /dev/null 2>&1;\n fi;\n mv \"${NVS_HOME}/cache/${NODE_FULLNAME}/bin/${NODE_EXE}\" \"${NVS_HOME}/cache/${NODE_EXE}\" > /dev/null 2>&1;\n rm -r \"${NVS_HOME}/cache/${NODE_FULLNAME}\" > /dev/null 2>&1;\n fi;\n if [ ! -f \"${NODE_PATH}\" ]; then\n echo \"Failed to setup node binary.\";\n return 1;\n fi;\n echo \"\";\n fi;\n local EXIT_CODE=0;\n case \"$@\" in \n \"cd\")\n local DIR=$PWD;\n while [ \"$DIR\" != \"\" -a ! \\( -e \"$DIR/.node-version\" -o -e \"$DIR/.nvmrc\" \\) ]; do\n if [ \"$DIR\" = \"/\" ]; then\n DIR=;\n else\n DIR=$(dirname \"$DIR\");\n fi;\n done;\n if [ \"$DIR\" != \"$NVS_AUTO_DIRECTORY\" ]; then\n command \"${NODE_PATH}\" \"${NVS_ROOT}/lib/index.js\" auto;\n EXIT_CODE=$?;\n fi;\n export NVS_AUTO_DIRECTORY=$DIR\n ;;\n *)\n command \"${NODE_PATH}\" \"${NVS_ROOT}/lib/index.js\" \"$@\";\n EXIT_CODE=$?\n ;;\n esac;\n if [ ${EXIT_CODE} = 2 ]; then\n rm \"${NODE_PATH}\";\n nvs $@;\n fi;\n if [ -f \"${NVS_POSTSCRIPT}\" ]; then\n . \"${NVS_POSTSCRIPT}\";\n command rm \"${NVS_POSTSCRIPT}\";\n unset NVS_POSTSCRIPT;\n fi;\n return $EXIT_CODE\n}",
|
817 |
+
"BASH_FUNC_nvsudo%%": "() { local NVS_CURRENT=`nvs which`;\n if [ -n \"${NVS_CURRENT}\" ]; then\n NVS_CURRENT=`dirname \"${NVS_CURRENT}\"`;\n fi;\n sudo \"NVS_CURRENT=${NVS_CURRENT}\" \"${NVS_ROOT}/nvs\" $*\n}",
|
818 |
+
"_": "/usr/bin/cat"
|
819 |
+
}
|
820 |
+
[2025-03-02T14:12:30.570Z]
|
821 |
+
[2025-03-02T14:12:30.570Z] Stop (6 ms): Run in container: cat '/workspaces/.codespaces/.persistedshare/devcontainers-cli/cache/env-loginInteractiveShell.json'
|
822 |
+
[2025-03-02T14:12:30.570Z] Start: Run in container: cat '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447/product.json'
|
823 |
+
[2025-03-02T14:12:30.575Z] Stop (5 ms): Run in container: cat '/home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447/product.json'
|
824 |
+
[2025-03-02T14:12:30.577Z] Running extension host agents:
|
825 |
+
[
|
826 |
+
{
|
827 |
+
"pid": "2128",
|
828 |
+
"ppid": "0",
|
829 |
+
"pgrp": "2128",
|
830 |
+
"cwd": "/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447",
|
831 |
+
"mntNS": "mnt:[4026532185]",
|
832 |
+
"cmd": "sh /home/codespace/.vscode-remote/bin/e54c774e0add60467559eb0d1e229c6452cf8447/bin/code-server --log trace --force-disable-user-env --server-data-dir /home/codespace/.vscode-remote --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447 --extensions-download-dir /home/codespace/.vscode-remote/extensionsCache --install-builtin-extension GitHub.vscode-pull-request-github --install-builtin-extension github.github-vscode-theme --install-builtin-extension github.codespaces --do-not-sync --start-server --enable-remote-auto-shutdown --skip-requirements-check ",
|
833 |
+
"env": {
|
834 |
+
"PATH": "/home/codespace/.local/bin:/home/codespace/.dotnet:/home/codespace/nvm/current/bin:/home/codespace/.php/current/bin:/home/codespace/.python/current/bin:/home/codespace/java/current/bin:/home/codespace/.ruby/current/bin:/home/codespace/.local/bin:/usr/local/python/current/bin:/usr/local/py-utils/bin:/usr/local/oryx:/usr/local/go/bin:/go/bin:/usr/local/sdkman/bin:/usr/local/sdkman/candidates/java/current/bin:/usr/local/sdkman/candidates/gradle/current/bin:/usr/local/sdkman/candidates/maven/current/bin:/usr/local/sdkman/candidates/ant/current/bin:/usr/local/rvm/gems/default/bin:/usr/local/rvm/gems/default@global/bin:/usr/local/rvm/rubies/default/bin:/usr/local/share/rbenv/bin:/usr/local/php/current/bin:/opt/conda/bin:/usr/local/nvs:/usr/local/share/nvm/current/bin:/usr/local/hugo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/share/dotnet:/home/codespace/.dotnet/tools:/usr/local/rvm/bin",
|
835 |
+
"HOSTNAME": "codespaces-9cefb6",
|
836 |
+
"ContainerVersion": "13",
|
837 |
+
"CODESPACES": "********",
|
838 |
+
"LANG": "C.UTF-8",
|
839 |
+
"SHELL": "/bin/bash",
|
840 |
+
"DOCKER_BUILDKIT": "1",
|
841 |
+
"DOTNET_ROOT": "/usr/share/dotnet",
|
842 |
+
"DOTNET_RUNNING_IN_CONTAINER": "********",
|
843 |
+
"DOTNET_USE_POLLING_FILE_WATCHER": "********",
|
844 |
+
"HUGO_DIR": "/usr/local/hugo/bin",
|
845 |
+
"NVM_DIR": "/usr/local/share/nvm",
|
846 |
+
"NVM_SYMLINK_CURRENT": "********",
|
847 |
+
"NVS_DIR": "/usr/local/nvs",
|
848 |
+
"CONDA_DIR": "/opt/conda",
|
849 |
+
"CONDA_SCRIPT": "/opt/conda/etc/profile.d/conda.sh",
|
850 |
+
"PHP_PATH": "/usr/local/php/current",
|
851 |
+
"GEM_PATH": "/usr/local/rvm/gems/ruby-3.3.4:/usr/local/rvm/gems/ruby-3.3.4@global",
|
852 |
+
"GEM_HOME": "/usr/local/rvm/gems/ruby-3.3.4",
|
853 |
+
"MY_RUBY_HOME": "/usr/local/rvm/rubies/ruby-3.3.4",
|
854 |
+
"SDKMAN_DIR": "/usr/local/sdkman",
|
855 |
+
"JAVA_HOME": "/usr/local/sdkman/candidates/java/current",
|
856 |
+
"GOROOT": "/usr/local/go",
|
857 |
+
"GOPATH": "/go",
|
858 |
+
"ORYX_SDK_STORAGE_BASE_URL": "https://oryx-cdn.microsoft.io",
|
859 |
+
"ENABLE_DYNAMIC_INSTALL": "********",
|
860 |
+
"DYNAMIC_INSTALL_ROOT_DIR": "/opt",
|
861 |
+
"ORYX_PREFER_USER_INSTALLED_SDKS": "********",
|
862 |
+
"ORYX_DIR": "/usr/local/oryx",
|
863 |
+
"DEBIAN_FLAVOR": "focal-scm",
|
864 |
+
"PYTHON_PATH": "/usr/local/python/current",
|
865 |
+
"PIPX_HOME": "/usr/local/py-utils",
|
866 |
+
"PIPX_BIN_DIR": "/usr/local/py-utils/bin",
|
867 |
+
"RUBY_HOME": "/usr/local/rvm/rubies/default",
|
868 |
+
"JAVA_ROOT": "/home/codespace/java",
|
869 |
+
"NODE_ROOT": "/home/codespace/nvm",
|
870 |
+
"PHP_ROOT": "/home/codespace/.php",
|
871 |
+
"PYTHON_ROOT": "/home/codespace/.python",
|
872 |
+
"RUBY_ROOT": "/home/codespace/.ruby",
|
873 |
+
"MAVEN_ROOT": "/home/codespace/.maven",
|
874 |
+
"HUGO_ROOT": "/home/codespace/.hugo",
|
875 |
+
"DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "1",
|
876 |
+
"NUGET_XMLDOC_MODE": "skip",
|
877 |
+
"ORYX_ENV_TYPE": "vsonline-present",
|
878 |
+
"PYTHONIOENCODING": "UTF-8",
|
879 |
+
"NPM_GLOBAL": "/home/codespace/.npm-global",
|
880 |
+
"NVS_HOME": "/usr/local/nvs",
|
881 |
+
"RVM_PATH": "/usr/local/rvm",
|
882 |
+
"RAILS_DEVELOPMENT_HOSTS": ".githubpreview.dev,.preview.********,.********",
|
883 |
+
"JUPYTERLAB_PATH": "/home/codespace/.local/bin",
|
884 |
+
"VSCODE_AGENT_FOLDER": "/home/codespace/.vscode-remote",
|
885 |
+
"NVM_INC": "/usr/local/share/nvm/versions/node/v20.18.1/include/node",
|
886 |
+
"rvm_prefix": "/usr/local",
|
887 |
+
"GRADLE_HOME": "/usr/local/sdkman/candidates/gradle/current",
|
888 |
+
"rvm_stored_umask": "0022",
|
889 |
+
"NVS_OS": "linux",
|
890 |
+
"NVS_USE_XZ": "1",
|
891 |
+
"SDKMAN_CANDIDATES_DIR": "/usr/local/sdkman/candidates",
|
892 |
+
"RUBY_VERSION": "ruby-3.3.4",
|
893 |
+
"rvm_version": "1.29.12 (latest)",
|
894 |
+
"rvm_user_install_flag": "0",
|
895 |
+
"HOME": "/home/codespace",
|
896 |
+
"LS_COLORS": "",
|
897 |
+
"SHELL_LOGGED_IN": "********",
|
898 |
+
"rvm_bin_path": "/usr/local/rvm/bin",
|
899 |
+
"LESSCLOSE": "/usr/bin/lesspipe %s %s",
|
900 |
+
"NVS_ROOT": "/usr/local/nvs",
|
901 |
+
"LESSOPEN": "| /usr/bin/lesspipe %s",
|
902 |
+
"USER": "codespace",
|
903 |
+
"rvm_loaded_flag": "1",
|
904 |
+
"MAVEN_HOME": "/usr/local/sdkman/candidates/maven/current",
|
905 |
+
"SHLVL": "1",
|
906 |
+
"NVM_CD_FLAGS": "",
|
907 |
+
"PROMPT_DIRTRIM": "4",
|
908 |
+
"SDKMAN_CANDIDATES_API": "https://api.sdkman.io/2",
|
909 |
+
"SDKMAN_PLATFORM": "linuxx64",
|
910 |
+
"NVM_BIN": "/usr/local/share/nvm/versions/node/v20.18.1/bin",
|
911 |
+
"IRBRC": "/usr/local/rvm/rubies/ruby-3.3.4/.irbrc",
|
912 |
+
"rvm_path": "/usr/local/rvm",
|
913 |
+
"OLDPWD": "/vscode/bin/linux-x64/e54c774e0add60467559eb0d1e229c6452cf8447",
|
914 |
+
"BASH_FUNC_nvs%%": "() { if [ -z \"${NVS_HOME}\" ]; then export NVS_HOME=\"${NVS_ROOT}\"; fi; export NVS_POSTSCRIPT=\"${NVS_HOME}/nvs_tmp_$(dd if=/dev/urandom count=1 2> /dev/null | cksum | cut -f1 -d\" \").sh\"; local NODE_EXE=\"node\"; if [ \"${NVS_OS}\" = \"win\" ]; then NODE_EXE=\"node.exe\"; fi; local NODE_PATH=\"${NVS_HOME}/cache/${NODE_EXE}\"; if [ ! -f \"${NODE_PATH}\" ]; then local NODE_VERSION=\"$(grep '\"bootstrap\" *:' \"${NVS_ROOT}/defaults.json\" | sed -e 's/.*: *\"//' -e 's/\"[^\\n]*//' -e 's/.*\\///')\"; local NODE_REMOTE=\"$(grep '\"bootstrap\" *:' \"${NVS_ROOT}/defaults.json\" | sed -e 's/.*: *\"//' -e 's/\"[^\\n]*//' -e 's/\\/.*//')\"; local NODE_BASE_URI=\"$(grep \"\\\"${NODE_REMOTE}\\\" *:\" \"${NVS_ROOT}/defaults.json\" | sed -e 's/.*: *\"//' -e 's/\"[^\\n]*//')\"; local NODE_ARCHIVE_EXT=\".tar.gz\"; local TAR_FLAGS=\"-zxvf\"; if [ \"${NVS_OS}\" = \"win\" ]; then NODE_ARCHIVE_EXT=\".7z\"; else if [ \"${NVS_USE_XZ}\" = \"1\" ]; then NODE_ARCHIVE_EXT=\".tar.xz\"; TAR_FLAGS=\"-Jxvf\"; fi; fi; local NODE_ARCH=\"$(uname -m | sed -e 's/x86_64/x64/;s/i86pc/x64/;s/i686/x86/;s/aarch64/arm64/')\"; if [ \"${NVS_OS}\" = \"aix\" ]; then NODE_ARCH=\"ppc64\"; fi; local NODE_FULLNAME=\"node-v${NODE_VERSION}-${NVS_OS}-${NODE_ARCH}\"; local NODE_URI=\"${NODE_BASE_URI}v${NODE_VERSION}/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}\"; local NODE_ARCHIVE=\"${NVS_HOME}/cache/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}\"; if [ ! -d \"${NVS_HOME}/cache\" ]; then command mkdir -p \"${NVS_HOME}/cache\"; fi; echo \"Downloading bootstrap node from ${NODE_URI}\"; if type noglob > /dev/null 2>&1; then noglob curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\"; else curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\"; fi; if [ ! -f \"${NODE_ARCHIVE}\" ] && [ \"${NODE_ARCHIVE_EXT}\" = \".tar.xz\" ]; then NODE_ARCHIVE_EXT=\".tar.gz\"; TAR_FLAGS=\"-zxvf\"; NODE_ARCHIVE=\"${NVS_HOME}/cache/${NODE_FULLNAME}${NODE_ARCHIVE_EXT}\"; echo \"Retry download bootstrap node from ${NODE_URI} in gz format\"; if type noglob > /dev/null 2>&1; then noglob curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\"; else curl -L -# \"${NODE_URI}\" -o \"${NODE_ARCHIVE}\"; fi; fi; if [ ! -f \"${NODE_ARCHIVE}\" ]; then echo \"Failed to download node binary.\"; return 1; fi; if [ \"${NVS_OS}\" = \"win\" ]; then \"${NVS_ROOT}/tools/7-Zip/7zr.exe\" e \"-o${NVS_HOME}/cache\" -y \"${NODE_ARCHIVE}\" \"${NODE_FULLNAME}/${NODE_EXE}\" > /dev/null 2>&1; else if [ \"${NVS_OS}\" = \"aix\" ]; then gunzip \"${NODE_ARCHIVE}\" | tar -xvC \"${NVS_HOME}/cache\" \"${NODE_FULLNAME}/bin/${NODE_EXE}\" > /dev/null 2>&1; else tar $TAR_FLAGS \"${NODE_ARCHIVE}\" -C \"${NVS_HOME}/cache\" \"${NODE_FULLNAME}/bin/${NODE_EXE}\" > /dev/null 2>&1; fi; mv \"${NVS_HOME}/cache/${NODE_FULLNAME}/bin/${NODE_EXE}\" \"${NVS_HOME}/cache/${NODE_EXE}\" > /dev/null 2>&1; rm -r \"${NVS_HOME}/cache/${NODE_FULLNAME}\" > /dev/null 2>&1; fi; if [ ! -f \"${NODE_PATH}\" ]; then echo \"Failed to setup node binary.\"; return 1; fi; echo \"\"; fi; local EXIT_CODE=0; case \"$@\" in \"cd\") local DIR=$PWD; while [ \"$DIR\" != \"\" -a ! \\( -e \"$DIR/.node-version\" -o -e \"$DIR/.nvmrc\" \\) ]; do if [ \"$DIR\" = \"/\" ]; then DIR=; else DIR=$(dirname \"$DIR\"); fi; done; if [ \"$DIR\" != \"$NVS_AUTO_DIRECTORY\" ]; then command \"${NODE_PATH}\" \"${NVS_ROOT}/lib/index.js\" auto; EXIT_CODE=$?; fi; export NVS_AUTO_DIRECTORY=$DIR ;; *) command \"${NODE_PATH}\" \"${NVS_ROOT}/lib/index.js\" \"$@\"; EXIT_CODE=$? ;; esac; if [ ${EXIT_CODE} = 2 ]; then rm \"${NODE_PATH}\"; nvs $@; fi; if [ -f \"${NVS_POSTSCRIPT}\" ]; then . \"${NVS_POSTSCRIPT}\"; command rm \"${NVS_POSTSCRIPT}\"; unset NVS_POSTSCRIPT; fi; return $EXIT_CODE }",
|
915 |
+
"BASH_FUNC_nvsudo%%": "() { local NVS_CURRENT=`nvs which`; if [ -n \"${NVS_CURRENT}\" ]; then NVS_CURRENT=`dirname \"${NVS_CURRENT}\"`; fi; sudo \"NVS_CURRENT=${NVS_CURRENT}\" \"${NVS_ROOT}/nvs\" $* }",
|
916 |
+
"_": "/usr/bin/cat",
|
917 |
+
"CLOUDENV_ENVIRONMENT_ID": "b94e1d6c-1584-44f6-b1d4-7f7d0afbf290",
|
918 |
+
"CODESPACE_NAME": "********",
|
919 |
+
"GITHUB_SERVER_URL": "********",
|
920 |
+
"GITHUB_API_URL": "********",
|
921 |
+
"GITHUB_GRAPHQL_URL": "********",
|
922 |
+
"GITHUB_REPOSITORY": "********",
|
923 |
+
"INTERNAL_VSCS_TARGET_URL": "********",
|
924 |
+
"GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN": "********",
|
925 |
+
"GITHUB_CODESPACE_TOKEN": "********",
|
926 |
+
"GITHUB_TOKEN": "********",
|
927 |
+
"GITHUB_USER": "********"
|
928 |
+
}
|
929 |
+
}
|
930 |
+
]
|
931 |
+
[2025-03-02T14:12:30.577Z] Extension host agent is already running.
|
932 |
+
[2025-03-02T14:12:30.577Z] Start: Run in container: cat '/home/codespace/.vscode-remote/data/Machine/.devport-e54c774e0add60467559eb0d1e229c6452cf8447' 2>/dev/null
|
933 |
+
[2025-03-02T14:12:30.580Z] 37921
|
934 |
+
[2025-03-02T14:12:30.580Z]
|
935 |
+
[2025-03-02T14:12:30.580Z] Stop (3 ms): Run in container: cat '/home/codespace/.vscode-remote/data/Machine/.devport-e54c774e0add60467559eb0d1e229c6452cf8447' 2>/dev/null
|
936 |
+
[2025-03-02T14:12:30.581Z] Start: Run in container: cat '/home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447'
|
937 |
+
[2025-03-02T14:12:30.583Z] 98178c1e-07ba-44dd-b57a-ebd618207f3f
|
938 |
+
[2025-03-02T14:12:30.584Z]
|
939 |
+
[2025-03-02T14:12:30.584Z] Stop (3 ms): Run in container: cat '/home/codespace/.vscode-remote/data/Machine/.connection-token-e54c774e0add60467559eb0d1e229c6452cf8447'
|
940 |
+
[2025-03-02T14:12:30.584Z] Stop (693 ms): Resolving Remote for VSC start
|
941 |
+
[2025-03-02T14:14:43.793Z] [14:14:43] Getting Manifest... github.copilot
|
942 |
+
[2025-03-02T14:14:43.844Z] [14:14:43] Installing extension: github.copilot {
|
943 |
+
isMachineScoped: false,
|
944 |
+
installPreReleaseVersion: false,
|
945 |
+
pinned: false,
|
946 |
+
installOnlyNewlyAddedFromExtensionPack: ********,
|
947 |
+
isApplicationScoped: false,
|
948 |
+
profileLocation: Er {
|
949 |
+
scheme: 'file',
|
950 |
+
authority: '',
|
951 |
+
path: '/home/codespace/.vscode-remote/extensions/extensions.json',
|
952 |
+
query: '',
|
953 |
+
fragment: '',
|
954 |
+
_formatted: 'file:///home/codespace/.vscode-remote/extensions/extensions.json',
|
955 |
+
_fsPath: '/home/codespace/.vscode-remote/extensions/extensions.json'
|
956 |
+
},
|
957 |
+
productVersion: { version: '1.97.2', date: '2025-02-12T23:20:35.343Z' }
|
958 |
+
}
|
959 |
+
[2025-03-02T14:14:44.331Z] [14:14:44] Getting Manifest... github.copilot-chat
|
960 |
+
[2025-03-02T14:14:44.358Z] [14:14:44] Installing extension: github.copilot-chat {
|
961 |
+
isMachineScoped: false,
|
962 |
+
installPreReleaseVersion: false,
|
963 |
+
pinned: false,
|
964 |
+
installOnlyNewlyAddedFromExtensionPack: ********,
|
965 |
+
isApplicationScoped: false,
|
966 |
+
profileLocation: Er {
|
967 |
+
scheme: 'file',
|
968 |
+
authority: '',
|
969 |
+
path: '/home/codespace/.vscode-remote/extensions/extensions.json',
|
970 |
+
query: '',
|
971 |
+
fragment: '',
|
972 |
+
_formatted: 'file:///home/codespace/.vscode-remote/extensions/extensions.json',
|
973 |
+
_fsPath: '/home/codespace/.vscode-remote/extensions/extensions.json'
|
974 |
+
},
|
975 |
+
productVersion: { version: '1.97.2', date: '2025-02-12T23:20:35.343Z' },
|
976 |
+
context: { dependecyOrPackExtensionInstall: ******** }
|
977 |
+
}
|
978 |
+
[2025-03-02T14:14:45.964Z] [14:14:45] Extension signature verification result for github.copilot-chat: Success. Executed: ********. Duration: 1200ms.
|
979 |
+
[2025-03-02T14:14:46.008Z] [14:14:46] Extension signature verification result for github.copilot: Success. Executed: ********. Duration: 1223ms.
|
980 |
+
[2025-03-02T14:14:46.605Z] [14:14:46] Extracted extension to file:///home/codespace/.vscode-remote/extensions/github.copilot-chat-0.24.1: github.copilot-chat
|
981 |
+
[2025-03-02T14:14:46.616Z] [14:14:46] Renamed to /home/codespace/.vscode-remote/extensions/github.copilot-chat-0.24.1
|
982 |
+
[2025-03-02T14:14:46.858Z] [14:14:46] Extracted extension to file:///home/codespace/.vscode-remote/extensions/github.copilot-1.275.0: github.copilot
|
983 |
+
[2025-03-02T14:14:46.865Z] [14:14:46] Renamed to /home/codespace/.vscode-remote/extensions/github.copilot-1.275.0
|
984 |
+
[2025-03-02T14:14:46.889Z] [14:14:46] Extension installed successfully: github.copilot-chat file:///home/codespace/.vscode-remote/extensions/extensions.json
|
985 |
+
[2025-03-02T14:14:46.892Z] [14:14:46] Extension installed successfully: github.copilot file:///home/codespace/.vscode-remote/extensions/extensions.json
|
986 |
+
[2025-03-02T14:16:42.869Z] [14:16:42] [File Watcher (node.js)] Watcher shutdown because watched path got deleted
|
987 |
+
[2025-03-02T14:16:42.870Z] [14:16:42] [File Watcher (node.js)] Watcher shutdown because watched path got deleted
|
988 |
+
[2025-03-02T14:16:43.176Z] [14:16:43] [File Watcher (node.js)] Watcher shutdown because watched path got deleted
|
989 |
+
[2025-03-02T14:17:10.118Z] New EH opened, aborting shutdown
|
990 |
+
[2025-03-02T14:17:10.118Z] [14:17:10] New EH opened, aborting shutdown
|
.codespaces/.persistedshare/vsserverterminallog.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
.codespaces/shared/.env
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
CLOUDENV_ENVIRONMENT_ID=b94e1d6c-1584-44f6-b1d4-7f7d0afbf290
|
2 |
+
CODESPACE_NAME=vigilant-space-train-jj4gq9964jxg34w6
|
3 |
+
GITHUB_SERVER_URL=https://github.com
|
4 |
+
GITHUB_API_URL=https://api.github.com
|
5 |
+
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
|
6 |
+
GITHUB_REPOSITORY=kenichimiyata/evamaster
|
7 |
+
INTERNAL_VSCS_TARGET_URL=https://southeastasia.online.visualstudio.com
|
8 |
+
GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN=app.github.dev
|
9 |
+
GITHUB_CODESPACE_TOKEN=BJ4G3YBI5JARNMP4GTNT55DHYUH6ZANCNFSM4AMDKYZQ
|
10 |
+
GITHUB_TOKEN=ghu_QdUUndKrDw2lvVB7MylpCOb1ckskKS1EAYRa
|
11 |
+
GITHUB_USER=kenichimiyata
|
12 |
+
CODESPACES=true
|
13 |
+
CODESPACE_NAME=vigilant-space-train-jj4gq9964jxg34w6
|
.codespaces/shared/.env-secrets
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
CLOUDENV_ENVIRONMENT_ID=Yjk0ZTFkNmMtMTU4NC00NGY2LWIxZDQtN2Y3ZDBhZmJmMjkw
|
2 |
+
CODESPACE_NAME=dmlnaWxhbnQtc3BhY2UtdHJhaW4tamo0Z3E5OTY0anhnMzR3Ng==
|
3 |
+
GITHUB_SERVER_URL=aHR0cHM6Ly9naXRodWIuY29t
|
4 |
+
GITHUB_API_URL=aHR0cHM6Ly9hcGkuZ2l0aHViLmNvbQ==
|
5 |
+
GITHUB_GRAPHQL_URL=aHR0cHM6Ly9hcGkuZ2l0aHViLmNvbS9ncmFwaHFs
|
6 |
+
GITHUB_REPOSITORY=a2VuaWNoaW1peWF0YS9ldmFtYXN0ZXI=
|
7 |
+
INTERNAL_VSCS_TARGET_URL=aHR0cHM6Ly9zb3V0aGVhc3Rhc2lhLm9ubGluZS52aXN1YWxzdHVkaW8uY29t
|
8 |
+
GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN=YXBwLmdpdGh1Yi5kZXY=
|
9 |
+
GITHUB_CODESPACE_TOKEN=Qko0RzNZQkk1SkFSTk1QNEdUTlQ1NURIWVVINlpBTkNORlNNNEFNREtZWlE=
|
10 |
+
GITHUB_TOKEN=Z2h1X1FkVVVuZEtyRHcybHZWQjdNeWxwQ09iMWNrc2tLUzFFQVlSYQ==
|
11 |
+
GITHUB_USER=a2VuaWNoaW1peWF0YQ==
|
12 |
+
CODESPACES=dHJ1ZQ==
|
13 |
+
CODESPACE_NAME=dmlnaWxhbnQtc3BhY2UtdHJhaW4tamo0Z3E5OTY0anhnMzR3Ng==
|
.codespaces/shared/.environmentConfigurationCompleted
ADDED
File without changes
|
.codespaces/shared/.user-secrets.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
[{"type":"EnvironmentVariable","name":"GITHUB_SERVER_URL","value":"https://github.com"},{"type":"EnvironmentVariable","name":"GITHUB_API_URL","value":"https://api.github.com"},{"type":"EnvironmentVariable","name":"GITHUB_GRAPHQL_URL","value":"https://api.github.com/graphql"},{"type":"EnvironmentVariable","name":"GITHUB_REPOSITORY","value":"kenichimiyata/evamaster"},{"type":"EnvironmentVariable","name":"INTERNAL_VSCS_TARGET_URL","value":"https://southeastasia.online.visualstudio.com"},{"type":"EnvironmentVariable","name":"GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN","value":"app.github.dev"},{"type":"EnvironmentVariable","name":"GITHUB_CODESPACE_TOKEN","value":"BJ4G3YBI5JARNMP4GTNT55DHYUH6ZANCNFSM4AMDKYZQ"},{"type":"EnvironmentVariable","name":"GITHUB_TOKEN","value":"ghu_QdUUndKrDw2lvVB7MylpCOb1ckskKS1EAYRa"},{"type":"ContainerRegistry","name":"docker.pkg.github.com","value":"ghu_QdUUndKrDw2lvVB7MylpCOb1ckskKS1EAYRa"},{"type":"ContainerRegistry","name":"kenichimiyata@ghcr.io","value":"ghu_QdUUndKrDw2lvVB7MylpCOb1ckskKS1EAYRa"},{"type":"EnvironmentVariable","name":"GITHUB_USER","value":"kenichimiyata"},{"type":"ContainerRegistry","name":"codespacesdev@https://index.docker.io/v1/","value":"df0ee6ad-f9b2-423c-878f-635d0c94dcc2"},{"type":"EnvironmentVariable","name":"CODESPACES","value":"true"},{"type":"EnvironmentVariable","name":"CODESPACE_NAME","value":"vigilant-space-train-jj4gq9964jxg34w6"}]
|
.codespaces/shared/codespaceStatusTool.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
.codespaces/shared/devContainerTelemetry.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"environmentId": "b94e1d6c-1584-44f6-b1d4-7f7d0afbf290",
|
3 |
+
"hasDevContainerJson": false,
|
4 |
+
"isDevContainerJsonValid": true
|
5 |
+
}
|
.codespaces/shared/environment-variables.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"CODESPACE_NAME": "vigilant-space-train-jj4gq9964jxg34w6",
|
3 |
+
"ACTION_NAME": "create"
|
4 |
+
}
|
.codespaces/shared/first-run-notice.txt
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
👋 Welcome to Codespaces! You are on our default image. This includes the latest versions of:
|
2 |
+
- Python
|
3 |
+
- Node.js
|
4 |
+
- Docker
|
5 |
+
- And more! To see the full list, go here: https://aka.ms/ghcs-default-image.
|
6 |
+
|
7 |
+
🔍 To explore VS Code to its fullest, search using the Command Palette (Cmd/Ctrl + Shift + P)
|
8 |
+
|
9 |
+
📝 Edit away, then run your build command to see your code running in the browser.
|
.codespaces/shared/merged_devcontainer.json
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"remoteUser": "codespace",
|
3 |
+
"image": "mcr.microsoft.com/devcontainers/universal:2",
|
4 |
+
"runArgs": [
|
5 |
+
"--cap-add=SYS_PTRACE",
|
6 |
+
"--security-opt",
|
7 |
+
"seccomp=unconfined",
|
8 |
+
"--privileged",
|
9 |
+
"--init",
|
10 |
+
"--label",
|
11 |
+
"CodespacesImageType=Default",
|
12 |
+
"--label",
|
13 |
+
"ContainerVersion=13",
|
14 |
+
"--hostname",
|
15 |
+
"codespaces-dd191c",
|
16 |
+
"--add-host",
|
17 |
+
"codespaces-dd191c:127.0.0.1",
|
18 |
+
"--cap-add",
|
19 |
+
"sys_nice",
|
20 |
+
"--network",
|
21 |
+
"host"
|
22 |
+
],
|
23 |
+
"settings": {
|
24 |
+
"go.toolsManagement.checkForUpdates": "local",
|
25 |
+
"go.useLanguageServer": true,
|
26 |
+
"go.gopath": "/go",
|
27 |
+
"python.defaultInterpreterPath": "/home/codespace/.python/current/bin/python3",
|
28 |
+
"jupyter.kernels.filter": [
|
29 |
+
{
|
30 |
+
"path": "/opt/conda/bin/python",
|
31 |
+
"type": "pythonEnvironment"
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"path": "/bin/python2",
|
35 |
+
"type": "pythonEnvironment"
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"path": "/usr/bin/python2",
|
39 |
+
"type": "pythonEnvironment"
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"path": "/usr/local/python/current/bin/python3",
|
43 |
+
"type": "pythonEnvironment"
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"path": "/usr/local/python/current/bin/python",
|
47 |
+
"type": "pythonEnvironment"
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"path": "/usr/bin/python3",
|
51 |
+
"type": "pythonEnvironment"
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"path": "/bin/python3",
|
55 |
+
"type": "pythonEnvironment"
|
56 |
+
}
|
57 |
+
],
|
58 |
+
"lldb.executable": "/usr/bin/lldb"
|
59 |
+
},
|
60 |
+
"containerEnv": {
|
61 |
+
"CODESPACES": "true",
|
62 |
+
"ContainerVersion": "13",
|
63 |
+
"RepositoryName": "evamaster"
|
64 |
+
},
|
65 |
+
"remoteEnv": {
|
66 |
+
"CLOUDENV_ENVIRONMENT_ID": "b94e1d6c-1584-44f6-b1d4-7f7d0afbf290",
|
67 |
+
"CODESPACE_NAME": "vigilant-space-train-jj4gq9964jxg34w6"
|
68 |
+
},
|
69 |
+
"mounts": [
|
70 |
+
"source=/root/.codespaces/shared,target=/workspaces/.codespaces/shared,type=bind",
|
71 |
+
"source=/var/lib/docker/codespacemount/.persistedshare,target=/workspaces/.codespaces/.persistedshare,type=bind",
|
72 |
+
"source=/.codespaces/agent/mount,target=/.codespaces/bin,type=bind",
|
73 |
+
"source=/mnt/containerTmp,target=/tmp,type=bind"
|
74 |
+
],
|
75 |
+
"workspaceMount": "type=bind,src=/var/lib/docker/codespacemount/workspace,dst=/workspaces",
|
76 |
+
"workspaceFolder": "/workspaces/evamaster"
|
77 |
+
}
|
.codespaces/shared/postCreateOutput.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"steps": [
|
3 |
+
{
|
4 |
+
"name": "Finishing up...",
|
5 |
+
"status": "succeeded",
|
6 |
+
"description": null,
|
7 |
+
"stepDetail": null
|
8 |
+
},
|
9 |
+
{
|
10 |
+
"name": "Detected Python 3.12.1\n , /opt/python/3.12.1/bin/python3.12 -m pip install --cache-dir /usr/local/share/pip-cache --prefer-binary -r requirements.txt --target=/home/codespace/.local/lib/python3.12/site-packages --upgrade | ts [%T%z]",
|
11 |
+
"status": "failed",
|
12 |
+
"description": null,
|
13 |
+
"stepDetail": null
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"name": "Running postCreateCommand...",
|
17 |
+
"status": "succeeded",
|
18 |
+
"description": null,
|
19 |
+
"stepDetail": "/usr/local/share/pull-git-lfs-artifacts.sh"
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"name": "Done",
|
23 |
+
"status": "succeeded",
|
24 |
+
"description": null,
|
25 |
+
"stepDetail": null
|
26 |
+
}
|
27 |
+
]
|
28 |
+
}
|
.codespaces/shared/read-config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"configuration":{"remoteUser":"codespace","image":"mcr.microsoft.com/devcontainers/universal:2","runArgs":["--cap-add=SYS_PTRACE","--security-opt","seccomp=unconfined","--privileged","--init","--label","CodespacesImageType=Default","--label","ContainerVersion=13","--hostname","codespaces-dd191c","--add-host","codespaces-dd191c:127.0.0.1","--cap-add","sys_nice","--network","host"],"containerEnv":{"CODESPACES":"true","ContainerVersion":"13","RepositoryName":"evamaster"},"remoteEnv":{"CLOUDENV_ENVIRONMENT_ID":"b94e1d6c-1584-44f6-b1d4-7f7d0afbf290","CODESPACE_NAME":"vigilant-space-train-jj4gq9964jxg34w6"},"mounts":["source=/root/.codespaces/shared,target=/workspaces/.codespaces/shared,type=bind","source=/var/lib/docker/codespacemount/.persistedshare,target=/workspaces/.codespaces/.persistedshare,type=bind","source=/.codespaces/agent/mount,target=/.codespaces/bin,type=bind","source=/mnt/containerTmp,target=/tmp,type=bind"],"workspaceMount":"type=bind,src=/var/lib/docker/codespacemount/workspace,dst=/workspaces","workspaceFolder":"/workspaces/evamaster","customizations":{"vscode":{"settings":{"go.toolsManagement.checkForUpdates":"local","go.useLanguageServer":true,"go.gopath":"/go","python.defaultInterpreterPath":"/home/codespace/.python/current/bin/python3","jupyter.kernels.filter":[{"path":"/opt/conda/bin/python","type":"pythonEnvironment"},{"path":"/bin/python2","type":"pythonEnvironment"},{"path":"/usr/bin/python2","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python3","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python","type":"pythonEnvironment"},{"path":"/usr/bin/python3","type":"pythonEnvironment"},{"path":"/bin/python3","type":"pythonEnvironment"}],"lldb.executable":"/usr/bin/lldb"}}},"configFilePath":{"$mid":1,"fsPath":"/var/lib/docker/codespacemount/workspace/evamaster/.devcontainer/devcontainer.json","path":"/var/lib/docker/codespacemount/workspace/evamaster/.devcontainer/devcontainer.json","scheme":"vscode-fileHost"}},"workspace":{"workspaceFolder":"/workspaces/evamaster","workspaceMount":"type=bind,src=/var/lib/docker/codespacemount/workspace,dst=/workspaces"},"mergedConfiguration":{"remoteUser":"codespace","image":"mcr.microsoft.com/devcontainers/universal:2","runArgs":["--cap-add=SYS_PTRACE","--security-opt","seccomp=unconfined","--privileged","--init","--label","CodespacesImageType=Default","--label","ContainerVersion=13","--hostname","codespaces-dd191c","--add-host","codespaces-dd191c:127.0.0.1","--cap-add","sys_nice","--network","host"],"containerEnv":{"CODESPACES":"true","ContainerVersion":"13","RepositoryName":"evamaster"},"remoteEnv":{"CLOUDENV_ENVIRONMENT_ID":"b94e1d6c-1584-44f6-b1d4-7f7d0afbf290","CODESPACE_NAME":"vigilant-space-train-jj4gq9964jxg34w6"},"mounts":[{"source":"dind-var-lib-docker-0ohu7eskh0i5slpolbillifioqj1895btcq4pba1o1miv44ladah","target":"/var/lib/docker","type":"volume"},{"source":"minikube-config","target":"/home/vscode/.minikube","type":"volume"},"source=/root/.codespaces/shared,target=/workspaces/.codespaces/shared,type=bind","source=/var/lib/docker/codespacemount/.persistedshare,target=/workspaces/.codespaces/.persistedshare,type=bind","source=/.codespaces/agent/mount,target=/.codespaces/bin,type=bind","source=/mnt/containerTmp,target=/tmp,type=bind"],"workspaceMount":"type=bind,src=/var/lib/docker/codespacemount/workspace,dst=/workspaces","workspaceFolder":"/workspaces/evamaster","configFilePath":{"$mid":1,"fsPath":"/var/lib/docker/codespacemount/workspace/evamaster/.devcontainer/devcontainer.json","path":"/var/lib/docker/codespacemount/workspace/evamaster/.devcontainer/devcontainer.json","scheme":"vscode-fileHost"},"init":true,"privileged":true,"capAdd":["SYS_PTRACE"],"securityOpt":["seccomp=unconfined"],"entrypoints":["/usr/local/share/ssh-init.sh","/usr/local/share/docker-init.sh"],"customizations":{"vscode":[{"settings":{"go.toolsManagement.checkForUpdates":"local","go.useLanguageServer":true,"go.gopath":"/go","python.defaultInterpreterPath":"/home/codespace/.python/current/bin/python3","jupyter.kernels.filter":[{"path":"/opt/conda/bin/python","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python3","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python","type":"pythonEnvironment"},{"path":"/usr/bin/python3","type":"pythonEnvironment"},{"path":"/bin/python3","type":"pythonEnvironment"}],"lldb.executable":"/usr/bin/lldb"},"extensions":["GitHub.vscode-pull-request-github"]},{"settings":{"go.toolsManagement.checkForUpdates":"local","go.useLanguageServer":true,"go.gopath":"/go","python.defaultInterpreterPath":"/home/codespace/.python/current/bin/python3","jupyter.kernels.filter":[{"path":"/opt/conda/bin/python","type":"pythonEnvironment"},{"path":"/bin/python2","type":"pythonEnvironment"},{"path":"/usr/bin/python2","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python3","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python","type":"pythonEnvironment"},{"path":"/usr/bin/python3","type":"pythonEnvironment"},{"path":"/bin/python3","type":"pythonEnvironment"}],"lldb.executable":"/usr/bin/lldb"}},{"settings":{"go.toolsManagement.checkForUpdates":"local","go.useLanguageServer":true,"go.gopath":"/go","python.defaultInterpreterPath":"/home/codespace/.python/current/bin/python3","jupyter.kernels.filter":[{"path":"/opt/conda/bin/python","type":"pythonEnvironment"},{"path":"/bin/python2","type":"pythonEnvironment"},{"path":"/usr/bin/python2","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python3","type":"pythonEnvironment"},{"path":"/usr/local/python/current/bin/python","type":"pythonEnvironment"},{"path":"/usr/bin/python3","type":"pythonEnvironment"},{"path":"/bin/python3","type":"pythonEnvironment"}],"lldb.executable":"/usr/bin/lldb"}}]},"onCreateCommands":[],"updateContentCommands":[],"postCreateCommands":["/usr/local/share/pull-git-lfs-artifacts.sh"],"postStartCommands":[],"postAttachCommands":[],"containerUser":"codespace","portsAttributes":{}}}
|
.codespaces/shared/resource-usage.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"fileShareUsage":0,"dockerlibUsage":39,"logsBackupUsage":35864,"memoryUsage":22}
|
.codespaces/shared/unifiedPostCreateOutput.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"steps": [
|
3 |
+
{
|
4 |
+
"name": "Running postCreateCommand...",
|
5 |
+
"status": "succeeded",
|
6 |
+
"stepDetail": "/usr/local/share/pull-git-lfs-artifacts.sh"
|
7 |
+
}
|
8 |
+
]
|
9 |
+
}
|
.codespaces/shared/user-secrets-envs.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"GITHUB_SERVER_URL":"https://github.com","GITHUB_API_URL":"https://api.github.com","GITHUB_GRAPHQL_URL":"https://api.github.com/graphql","GITHUB_REPOSITORY":"kenichimiyata/evamaster","INTERNAL_VSCS_TARGET_URL":"https://southeastasia.online.visualstudio.com","GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN":"app.github.dev","GITHUB_CODESPACE_TOKEN":"BJ4G3YBI5JARNMP4GTNT55DHYUH6ZANCNFSM4AMDKYZQ","GITHUB_TOKEN":"ghu_QdUUndKrDw2lvVB7MylpCOb1ckskKS1EAYRa","GITHUB_USER":"kenichimiyata","CODESPACES":"true","CODESPACE_NAME":"vigilant-space-train-jj4gq9964jxg34w6"}
|
.cspell.jsonc
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "0.2",
|
3 |
+
"ignorePaths": [".cspell.jsonc"],
|
4 |
+
"dictionaryDefinitions": [],
|
5 |
+
"dictionaries": [],
|
6 |
+
"words": [
|
7 |
+
"asgi",
|
8 |
+
"collectstatic",
|
9 |
+
"fastapi",
|
10 |
+
"fastapp",
|
11 |
+
"mysite",
|
12 |
+
"noinput",
|
13 |
+
"orms",
|
14 |
+
"pycache",
|
15 |
+
"pydantic",
|
16 |
+
"staticfiles",
|
17 |
+
"uvicorn",
|
18 |
+
"venv",
|
19 |
+
"wsgi"
|
20 |
+
],
|
21 |
+
"ignoreWords": [],
|
22 |
+
"import": []
|
23 |
+
}
|
.gitattributes
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*.duckdb filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
37 |
+
*.sqlite3 filter=lfs diff=lfs merge=lfs -text
|
38 |
+
chat_history.db filter=lfs diff=lfs merge=lfs -text
|
39 |
+
static/background.png filter=lfs diff=lfs merge=lfs -text
|
40 |
+
static/chara_blinking.png filter=lfs diff=lfs merge=lfs -text
|
41 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
42 |
+
*.com filter=lfs diff=lfs merge=lfs -text
|
43 |
+
*.com3 filter=lfs diff=lfs merge=lfs -text
|
44 |
+
*.psd filter=lfs diff=lfs merge=lfs -text
|
45 |
+
*.cmo3 filter=lfs diff=lfs merge=lfs -text
|
46 |
+
*.cmo filter=lfs diff=lfs merge=lfs -text
|
47 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Byte-compiled / optimized / DLL files
|
2 |
+
__pycache__/
|
3 |
+
*.py[cod]
|
4 |
+
*$py.class
|
5 |
+
|
6 |
+
# C extensions
|
7 |
+
*.so
|
8 |
+
*.wav
|
9 |
+
# Distribution / packaging
|
10 |
+
.Python
|
11 |
+
build/
|
12 |
+
develop-eggs/
|
13 |
+
dist/
|
14 |
+
downloads/
|
15 |
+
eggs/
|
16 |
+
.eggs/
|
17 |
+
lib/
|
18 |
+
lib64/
|
19 |
+
parts/
|
20 |
+
sdist/
|
21 |
+
var/
|
22 |
+
wheels/
|
23 |
+
share/python-wheels/
|
24 |
+
*.egg-info/
|
25 |
+
.installed.cfg
|
26 |
+
*.egg
|
27 |
+
MANIFEST
|
28 |
+
|
29 |
+
# PyInstaller
|
30 |
+
# Usually these files are written by a python script from a template
|
31 |
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
32 |
+
*.manifest
|
33 |
+
*.spec
|
34 |
+
|
35 |
+
# Installer logs
|
36 |
+
pip-log.txt
|
37 |
+
pip-delete-this-directory.txt
|
38 |
+
|
39 |
+
# Unit test / coverage reports
|
40 |
+
htmlcov/
|
41 |
+
.tox/
|
42 |
+
.nox/
|
43 |
+
.coverage
|
44 |
+
.coverage.*
|
45 |
+
.cache
|
46 |
+
nosetests.xml
|
47 |
+
coverage.xml
|
48 |
+
*.cover
|
49 |
+
*.py,cover
|
50 |
+
.hypothesis/
|
51 |
+
.pytest_cache/
|
52 |
+
cover/
|
53 |
+
|
54 |
+
# Translations
|
55 |
+
*.mo
|
56 |
+
*.pot
|
57 |
+
|
58 |
+
# Django stuff:
|
59 |
+
*.log
|
60 |
+
local_settings.py
|
61 |
+
db.sqlite3
|
62 |
+
db.sqlite3-journal
|
63 |
+
|
64 |
+
# Flask stuff:
|
65 |
+
instance/
|
66 |
+
.webassets-cache
|
67 |
+
|
68 |
+
# Scrapy stuff:
|
69 |
+
.scrapy
|
70 |
+
|
71 |
+
# Sphinx documentation
|
72 |
+
docs/_build/
|
73 |
+
|
74 |
+
# PyBuilder
|
75 |
+
.pybuilder/
|
76 |
+
target/
|
77 |
+
|
78 |
+
# Jupyter Notebook
|
79 |
+
.ipynb_checkpoints
|
80 |
+
|
81 |
+
# IPython
|
82 |
+
profile_default/
|
83 |
+
ipython_config.py
|
84 |
+
|
85 |
+
# pyenv
|
86 |
+
# For a library or package, you might want to ignore these files since the code is
|
87 |
+
# intended to run in multiple environments; otherwise, check them in:
|
88 |
+
# .python-version
|
89 |
+
|
90 |
+
# pipenv
|
91 |
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
92 |
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
93 |
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
94 |
+
# install all needed dependencies.
|
95 |
+
#Pipfile.lock
|
96 |
+
|
97 |
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
98 |
+
__pypackages__/
|
99 |
+
|
100 |
+
# Celery stuff
|
101 |
+
celerybeat-schedule
|
102 |
+
celerybeat.pid
|
103 |
+
|
104 |
+
# SageMath parsed files
|
105 |
+
*.sage.py
|
106 |
+
|
107 |
+
# Environments
|
108 |
+
#.env
|
109 |
+
.venv
|
110 |
+
env/
|
111 |
+
venv/
|
112 |
+
ENV/
|
113 |
+
env.bak/
|
114 |
+
venv.bak/
|
115 |
+
|
116 |
+
# Spyder project settings
|
117 |
+
.spyderproject
|
118 |
+
.spyproject
|
119 |
+
|
120 |
+
# Rope project settings
|
121 |
+
.ropeproject
|
122 |
+
|
123 |
+
# mkdocs documentation
|
124 |
+
/site
|
125 |
+
|
126 |
+
# mypy
|
127 |
+
.mypy_cache/
|
128 |
+
.dmypy.json
|
129 |
+
dmypy.json
|
130 |
+
|
131 |
+
# Pyre type checker
|
132 |
+
.pyre/
|
133 |
+
|
134 |
+
# pytype static type analyzer
|
135 |
+
.pytype/
|
136 |
+
|
137 |
+
# Cython debug symbols
|
138 |
+
cython_debug/
|
139 |
+
|
140 |
+
#staticfiles/
|
141 |
+
core.*
|
.gpte_consent
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
true
|
.pre-commit-config.yaml
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
repos:
|
2 |
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
3 |
+
rev: v4.5.0
|
4 |
+
hooks:
|
5 |
+
- id: trailing-whitespace
|
6 |
+
- id: check-yaml
|
7 |
+
|
8 |
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
9 |
+
rev: v0.3.5
|
10 |
+
hooks:
|
11 |
+
- id: ruff
|
12 |
+
args: [--fix]
|
13 |
+
- id: ruff-format
|
14 |
+
|
15 |
+
- repo: https://github.com/pre-commit/mirrors-mypy
|
16 |
+
rev: v1.9.0
|
17 |
+
hooks:
|
18 |
+
- id: mypy
|
19 |
+
exclude: "migrations"
|
20 |
+
additional_dependencies: ["git+https://github.com/typeddjango/django-stubs.git"]
|
.ruff.toml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
line-length = 88
|
2 |
+
|
3 |
+
# Global configuration
|
4 |
+
ignore = ["E501", "W605", "E203"]
|
5 |
+
|
6 |
+
# Plugin-specific configurations
|
7 |
+
[mccabe]
|
8 |
+
max-complexity = 12
|
.vscode/launch.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "0.2.0",
|
3 |
+
"configurations": [
|
4 |
+
{
|
5 |
+
"name": "Poetry FastAPI Debug (uvicorn)",
|
6 |
+
"type": "python",
|
7 |
+
"request": "launch",
|
8 |
+
"module": "uvicorn",
|
9 |
+
"args": [
|
10 |
+
"test:app",
|
11 |
+
"--reload"
|
12 |
+
],
|
13 |
+
"python": "/usr/local/bin/python3",
|
14 |
+
"justMyCode": false
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"name": "Poetry Debug: Python File",
|
18 |
+
"type": "python",
|
19 |
+
"request": "launch",
|
20 |
+
"program": "${file}",
|
21 |
+
"python": "/home/user/.cache/pypoetry/virtualenvs/fastapi-django-zrSR0Z2A-py3.10/bin/python",
|
22 |
+
"justMyCode": false
|
23 |
+
}
|
24 |
+
]
|
25 |
+
}
|
26 |
+
|
.vscode/settings.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "0.2.0",
|
3 |
+
"configurations": [
|
4 |
+
{
|
5 |
+
"name": "Run test.py directly",
|
6 |
+
"type": "python",
|
7 |
+
"request": "launch",
|
8 |
+
"program": "${workspaceFolder}/test.py",
|
9 |
+
"console": "integratedTerminal",
|
10 |
+
"justMyCode": false
|
11 |
+
}
|
12 |
+
]
|
13 |
+
}
|
14 |
+
|
=4.41.2
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Requirement already satisfied: transformers in /usr/local/lib/python3.10/site-packages (4.35.2)
|
2 |
+
Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/site-packages (from transformers) (23.2)
|
3 |
+
Requirement already satisfied: huggingface-hub<1.0,>=0.16.4 in /usr/local/lib/python3.10/site-packages (from transformers) (0.23.3)
|
4 |
+
Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/site-packages (from transformers) (2024.5.15)
|
5 |
+
Requirement already satisfied: tqdm>=4.27 in /usr/local/lib/python3.10/site-packages (from transformers) (4.66.1)
|
6 |
+
Requirement already satisfied: tokenizers<0.19,>=0.14 in /usr/local/lib/python3.10/site-packages (from transformers) (0.15.2)
|
7 |
+
Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/site-packages (from transformers) (6.0.1)
|
8 |
+
Requirement already satisfied: filelock in /usr/local/lib/python3.10/site-packages (from transformers) (3.14.0)
|
9 |
+
Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.10/site-packages (from transformers) (1.23.5)
|
10 |
+
Requirement already satisfied: safetensors>=0.3.1 in /usr/local/lib/python3.10/site-packages (from transformers) (0.4.3)
|
11 |
+
Requirement already satisfied: requests in /usr/local/lib/python3.10/site-packages (from transformers) (2.32.3)
|
12 |
+
Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/site-packages (from huggingface-hub<1.0,>=0.16.4->transformers) (4.10.0)
|
13 |
+
Requirement already satisfied: fsspec>=2023.5.0 in /usr/local/lib/python3.10/site-packages (from huggingface-hub<1.0,>=0.16.4->transformers) (2024.3.1)
|
14 |
+
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/site-packages (from requests->transformers) (2024.2.2)
|
15 |
+
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/site-packages (from requests->transformers) (3.3.2)
|
16 |
+
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/site-packages (from requests->transformers) (3.6)
|
17 |
+
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/site-packages (from requests->transformers) (2.2.1)
|
AutoPrompt/.gitignore
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/venv
|
2 |
+
__pycache__/
|
3 |
+
*.log
|
4 |
+
/wandb
|
5 |
+
.idea/
|
6 |
+
dump/
|
7 |
+
|
AutoPrompt/LICENSE
ADDED
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Apache License
|
2 |
+
Version 2.0, January 2004
|
3 |
+
http://www.apache.org/licenses/
|
4 |
+
|
5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6 |
+
|
7 |
+
1. Definitions.
|
8 |
+
|
9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
11 |
+
|
12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13 |
+
the copyright owner that is granting the License.
|
14 |
+
|
15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
16 |
+
other entities that control, are controlled by, or are under common
|
17 |
+
control with that entity. For the purposes of this definition,
|
18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
19 |
+
direction or management of such entity, whether by contract or
|
20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22 |
+
|
23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24 |
+
exercising permissions granted by this License.
|
25 |
+
|
26 |
+
"Source" form shall mean the preferred form for making modifications,
|
27 |
+
including but not limited to software source code, documentation
|
28 |
+
source, and configuration files.
|
29 |
+
|
30 |
+
"Object" form shall mean any form resulting from mechanical
|
31 |
+
transformation or translation of a Source form, including but
|
32 |
+
not limited to compiled object code, generated documentation,
|
33 |
+
and conversions to other media types.
|
34 |
+
|
35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
36 |
+
Object form, made available under the License, as indicated by a
|
37 |
+
copyright notice that is included in or attached to the work
|
38 |
+
(an example is provided in the Appendix below).
|
39 |
+
|
40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41 |
+
form, that is based on (or derived from) the Work and for which the
|
42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
44 |
+
of this License, Derivative Works shall not include works that remain
|
45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46 |
+
the Work and Derivative Works thereof.
|
47 |
+
|
48 |
+
"Contribution" shall mean any work of authorship, including
|
49 |
+
the original version of the Work and any modifications or additions
|
50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
54 |
+
means any form of electronic, verbal, or written communication sent
|
55 |
+
to the Licensor or its representatives, including but not limited to
|
56 |
+
communication on electronic mailing lists, source code control systems,
|
57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
59 |
+
excluding communication that is conspicuously marked or otherwise
|
60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
61 |
+
|
62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
64 |
+
subsequently incorporated within the Work.
|
65 |
+
|
66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
71 |
+
Work and such Derivative Works in Source or Object form.
|
72 |
+
|
73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76 |
+
(except as stated in this section) patent license to make, have made,
|
77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78 |
+
where such license applies only to those patent claims licensable
|
79 |
+
by such Contributor that are necessarily infringed by their
|
80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
82 |
+
institute patent litigation against any entity (including a
|
83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84 |
+
or a Contribution incorporated within the Work constitutes direct
|
85 |
+
or contributory patent infringement, then any patent licenses
|
86 |
+
granted to You under this License for that Work shall terminate
|
87 |
+
as of the date such litigation is filed.
|
88 |
+
|
89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
90 |
+
Work or Derivative Works thereof in any medium, with or without
|
91 |
+
modifications, and in Source or Object form, provided that You
|
92 |
+
meet the following conditions:
|
93 |
+
|
94 |
+
(a) You must give any other recipients of the Work or
|
95 |
+
Derivative Works a copy of this License; and
|
96 |
+
|
97 |
+
(b) You must cause any modified files to carry prominent notices
|
98 |
+
stating that You changed the files; and
|
99 |
+
|
100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
101 |
+
that You distribute, all copyright, patent, trademark, and
|
102 |
+
attribution notices from the Source form of the Work,
|
103 |
+
excluding those notices that do not pertain to any part of
|
104 |
+
the Derivative Works; and
|
105 |
+
|
106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107 |
+
distribution, then any Derivative Works that You distribute must
|
108 |
+
include a readable copy of the attribution notices contained
|
109 |
+
within such NOTICE file, excluding those notices that do not
|
110 |
+
pertain to any part of the Derivative Works, in at least one
|
111 |
+
of the following places: within a NOTICE text file distributed
|
112 |
+
as part of the Derivative Works; within the Source form or
|
113 |
+
documentation, if provided along with the Derivative Works; or,
|
114 |
+
within a display generated by the Derivative Works, if and
|
115 |
+
wherever such third-party notices normally appear. The contents
|
116 |
+
of the NOTICE file are for informational purposes only and
|
117 |
+
do not modify the License. You may add Your own attribution
|
118 |
+
notices within Derivative Works that You distribute, alongside
|
119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
120 |
+
that such additional attribution notices cannot be construed
|
121 |
+
as modifying the License.
|
122 |
+
|
123 |
+
You may add Your own copyright statement to Your modifications and
|
124 |
+
may provide additional or different license terms and conditions
|
125 |
+
for use, reproduction, or distribution of Your modifications, or
|
126 |
+
for any such Derivative Works as a whole, provided Your use,
|
127 |
+
reproduction, and distribution of the Work otherwise complies with
|
128 |
+
the conditions stated in this License.
|
129 |
+
|
130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
132 |
+
by You to the Licensor shall be under the terms and conditions of
|
133 |
+
this License, without any additional terms or conditions.
|
134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135 |
+
the terms of any separate license agreement you may have executed
|
136 |
+
with Licensor regarding such Contributions.
|
137 |
+
|
138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
140 |
+
except as required for reasonable and customary use in describing the
|
141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
142 |
+
|
143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144 |
+
agreed to in writing, Licensor provides the Work (and each
|
145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147 |
+
implied, including, without limitation, any warranties or conditions
|
148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150 |
+
appropriateness of using or redistributing the Work and assume any
|
151 |
+
risks associated with Your exercise of permissions under this License.
|
152 |
+
|
153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
154 |
+
whether in tort (including negligence), contract, or otherwise,
|
155 |
+
unless required by applicable law (such as deliberate and grossly
|
156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157 |
+
liable to You for damages, including any direct, indirect, special,
|
158 |
+
incidental, or consequential damages of any character arising as a
|
159 |
+
result of this License or out of the use or inability to use the
|
160 |
+
Work (including but not limited to damages for loss of goodwill,
|
161 |
+
work stoppage, computer failure or malfunction, or any and all
|
162 |
+
other commercial damages or losses), even if such Contributor
|
163 |
+
has been advised of the possibility of such damages.
|
164 |
+
|
165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168 |
+
or other liability obligations and/or rights consistent with this
|
169 |
+
License. However, in accepting such obligations, You may act only
|
170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171 |
+
of any other Contributor, and only if You agree to indemnify,
|
172 |
+
defend, and hold each Contributor harmless for any liability
|
173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
174 |
+
of your accepting any such warranty or additional liability.
|
175 |
+
|
176 |
+
END OF TERMS AND CONDITIONS
|
177 |
+
|
178 |
+
APPENDIX: How to apply the Apache License to your work.
|
179 |
+
|
180 |
+
To apply the Apache License to your work, attach the following
|
181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
182 |
+
replaced with your own identifying information. (Don't include
|
183 |
+
the brackets!) The text should be enclosed in the appropriate
|
184 |
+
comment syntax for the file format. We also recommend that a
|
185 |
+
file or class name and description of purpose be included on the
|
186 |
+
same "printed page" as the copyright notice for easier
|
187 |
+
identification within third-party archives.
|
188 |
+
|
189 |
+
Copyright [yyyy] [name of copyright owner]
|
190 |
+
|
191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192 |
+
you may not use this file except in compliance with the License.
|
193 |
+
You may obtain a copy of the License at
|
194 |
+
|
195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
196 |
+
|
197 |
+
Unless required by applicable law or agreed to in writing, software
|
198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200 |
+
See the License for the specific language governing permissions and
|
201 |
+
limitations under the License.
|
AutoPrompt/Makefile
ADDED
File without changes
|
AutoPrompt/Pipfile
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[[source]]
|
2 |
+
url = "https://pypi.org/simple"
|
3 |
+
verify_ssl = true
|
4 |
+
name = "pypi"
|
5 |
+
|
6 |
+
[packages]
|
7 |
+
openai = "*"
|
8 |
+
langchain = "*"
|
9 |
+
pandas = "*"
|
10 |
+
wandb = "*"
|
11 |
+
transformers = "*"
|
12 |
+
tqdm = "*"
|
13 |
+
faiss-cpu = "*"
|
14 |
+
sentence-transformers = "*"
|
15 |
+
prodict = "*"
|
16 |
+
schedule = "*"
|
17 |
+
easydict = "*"
|
18 |
+
argilla = "*"
|
19 |
+
langchain-google-genai = "*"
|
20 |
+
|
21 |
+
[dev-packages]
|
22 |
+
|
23 |
+
[requires]
|
24 |
+
python_version = "3.10"
|
25 |
+
python_full_version = "3.10.13"
|
AutoPrompt/Pipfile.lock
ADDED
The diff for this file is too large to render.
See raw diff
|
|
AutoPrompt/README.md
ADDED
@@ -0,0 +1,229 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<p align="center">
|
2 |
+
<!-- community badges -->
|
3 |
+
<a href="https://discord.gg/G2rSbAf8uP"><img src="https://img.shields.io/badge/Join-Discord-blue.svg"/></a>
|
4 |
+
<!-- license badge -->
|
5 |
+
<a href="https://github.com/Eladlev/AutoPrompt/blob/main/LICENSE">
|
6 |
+
<img alt="License" src="https://img.shields.io/badge/License-Apache_2.0-blue.svg"></a>
|
7 |
+
</p>
|
8 |
+
|
9 |
+
# 📝 AutoPrompt
|
10 |
+
|
11 |
+
|
12 |
+
<!-- MARKDOWN LINKS & IMAGES -->
|
13 |
+
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
|
14 |
+
|
15 |
+
**Auto Prompt is a prompt optimization framework designed to enhance and perfect your prompts for real-world use cases.**
|
16 |
+
|
17 |
+
The framework automatically generates high-quality, detailed prompts tailored to user intentions. It employs a refinement (calibration) process, where it iteratively builds a dataset of challenging edge cases and optimizes the prompt accordingly. This approach not only reduces manual effort in prompt engineering but also effectively addresses common issues such as prompt [sensitivity](https://arxiv.org/abs/2307.09009) and inherent prompt [ambiguity](https://arxiv.org/abs/2311.04205) issues.
|
18 |
+
|
19 |
+
|
20 |
+
**Our mission:** Empower users to produce high-quality robust prompts using the power of large language models (LLMs).
|
21 |
+
|
22 |
+
# Why Auto Prompt?
|
23 |
+
- **Prompt Engineering Challenges.** The quality of LLMs greatly depends on the prompts used. Even [minor changes](#prompt-sensitivity-example) can significantly affect their performance.
|
24 |
+
- **Benchmarking Challenges.** Creating a benchmark for production-grade prompts is often labour-intensive and time-consuming.
|
25 |
+
- **Reliable Prompts.** Auto Prompt generates robust high-quality prompts, offering measured accuracy and performance enhancement using minimal data and annotation steps.
|
26 |
+
- **Modularity and Adaptability.** With modularity at its core, Auto Prompt integrates seamlessly with popular open-source tools such as LangChain, Wandb, and Argilla, and can be adapted for a variety of tasks, including data synthesis and prompt migration.
|
27 |
+
|
28 |
+
## System Overview
|
29 |
+
|
30 |
+

|
31 |
+
|
32 |
+
The system is designed for real-world scenarios, such as moderation tasks, which are often challenged by imbalanced data distributions. The system implements the [Intent-based Prompt Calibration](https://arxiv.org/abs/2402.03099) method. The process begins with a user-provided initial prompt and task description, optionally including user examples. The refinement process iteratively generates diverse samples, annotates them via user/LLM, and evaluates prompt performance, after which an LLM suggests an improved prompt.
|
33 |
+
|
34 |
+
The optimization process can be extended to content generation tasks by first devising a ranker prompt and then performing the prompt optimization with this learned ranker. The optimization concludes upon reaching the budget or iteration limit.
|
35 |
+
|
36 |
+
|
37 |
+
This joint synthetic data generation and prompt optimization approach outperform traditional methods while requiring minimal data and iterations. Learn more in our paper
|
38 |
+
[Intent-based Prompt Calibration: Enhancing prompt optimization with synthetic boundary cases](https://arxiv.org/abs/2402.03099) by E. Levi et al. (2024).
|
39 |
+
|
40 |
+
|
41 |
+
**Using GPT-4 Turbo, this optimization typically completes in just a few minutes at a cost of under $1.** To manage costs associated with GPT-4 LLM's token usage, the framework enables users to set a budget limit for optimization, in USD or token count, configured as illustrated [here](docs/examples.md#steps-to-run-example).
|
42 |
+
|
43 |
+
## Demo
|
44 |
+
|
45 |
+

|
46 |
+
|
47 |
+
|
48 |
+
## 📖 Documentation
|
49 |
+
- [How to install](docs/installation.md) (Setup instructions)
|
50 |
+
- [Prompt optimization examples](docs/examples.md) (Use cases: movie review classification, generation, and chat moderation)
|
51 |
+
- [How it works](docs/how-it-works.md) (Explanation of pipelines)
|
52 |
+
- [Architecture guide](docs/architecture.md) (Overview of main components)
|
53 |
+
|
54 |
+
## Features
|
55 |
+
- 📝 Boosts prompt quality with a minimal amount of data and annotation steps.
|
56 |
+
- 🛬 Designed for production use cases like moderation, multi-label classification, and content generation.
|
57 |
+
- ⚙️ Enables seamless migrating of prompts across model versions or LLM providers.
|
58 |
+
- 🎓 Supports prompt squeezing. Combine multiple rules into a single efficient prompt.
|
59 |
+
|
60 |
+
|
61 |
+
## QuickStart
|
62 |
+
AutoPrompt requires `python <= 3.10`
|
63 |
+
<br />
|
64 |
+
|
65 |
+
> **Step 1** - Download the project
|
66 |
+
|
67 |
+
```bash
|
68 |
+
git clone git@github.com:Eladlev/AutoPrompt.git
|
69 |
+
cd AutoPrompt
|
70 |
+
```
|
71 |
+
|
72 |
+
<br />
|
73 |
+
|
74 |
+
> **Step 2** - Install dependencies
|
75 |
+
|
76 |
+
Use either Conda or pip, depending on your preference. Using Conda:
|
77 |
+
```bash
|
78 |
+
conda env create -f environment_dev.yml
|
79 |
+
conda activate AutoPrompt
|
80 |
+
```
|
81 |
+
|
82 |
+
Using pip:
|
83 |
+
```bash
|
84 |
+
pip install -r requirements.txt
|
85 |
+
```
|
86 |
+
|
87 |
+
Using pipenv:
|
88 |
+
```bash
|
89 |
+
pip install pipenv
|
90 |
+
pipenv sync
|
91 |
+
```
|
92 |
+
|
93 |
+
<br />
|
94 |
+
|
95 |
+
> **Step 3** - Configure your LLM.
|
96 |
+
|
97 |
+
Set your OpenAI API key by updating the configuration file `config/llm_env.yml`
|
98 |
+
- If you need help locating your API key, visit this [link](https://help.openai.com/en/articles/4936850-where-do-i-find-my-api-key).
|
99 |
+
|
100 |
+
- We recommend using [OpenAI's GPT-4](https://platform.openai.com/docs/guides/gpt) for the LLM. Our framework also supports other providers and open-source models, as discussed [here](docs/installation.md#configure-your-llm).
|
101 |
+
|
102 |
+
<br />
|
103 |
+
|
104 |
+
> **Step 4** - Configure your Annotator
|
105 |
+
- Select an annotation approach for your project. We recommend beginning with a human-in-the-loop method, utilizing [Argilla](https://docs.argilla.io/en/latest/index.html). Follow the [Argilla setup instructions](https://docs.argilla.io/en/latest/getting_started/installation/deployments/huggingface-spaces.html) to configure your server. Alternatively, you can set up an LLM as your annotator by following these [configuration steps](docs/installation.md#configure-llm-annotator).
|
106 |
+
|
107 |
+
- The default predictor LLM, GPT-3.5, for estimating prompt performance, is configured in the `predictor` section of `config/config_default.yml`.
|
108 |
+
|
109 |
+
- Define your budget in the input config yaml file using the `max_usage parameter`. For OpenAI models, `max_usage` sets the maximum spend in USD. For other LLMs, it limits the maximum token count.
|
110 |
+
|
111 |
+
<br />
|
112 |
+
|
113 |
+
|
114 |
+
> **Step 5** - Run the pipeline
|
115 |
+
|
116 |
+
First, configure your labels by editing `config/config_default.yml`
|
117 |
+
```
|
118 |
+
dataset:
|
119 |
+
label_schema: ["Yes", "No"]
|
120 |
+
```
|
121 |
+
|
122 |
+
|
123 |
+
For a **classification pipeline**, use the following command from your terminal within the appropriate working directory:
|
124 |
+
```bash
|
125 |
+
python run_pipeline.py
|
126 |
+
```
|
127 |
+
If the initial prompt and task description are not provided directly as input, you will be guided to provide these details. Alternatively, specify them as command-line arguments:
|
128 |
+
```bash
|
129 |
+
python run_pipeline.py \
|
130 |
+
--prompt "Does this movie review contain a spoiler? answer Yes or No" \
|
131 |
+
--task_description "Assistant is an expert classifier that will classify a movie review, and let the user know if it contains a spoiler for the reviewed movie or not." \
|
132 |
+
--num_steps 30
|
133 |
+
```
|
134 |
+
You can track the optimization progress using the [W&B](https://wandb.ai/site) dashboard, with setup instructions available [here](docs/installation.md#monitoring-weights-and-biases-setup).
|
135 |
+
|
136 |
+
|
137 |
+
If you are using pipenv, be sure to activate the environment:
|
138 |
+
``` bash
|
139 |
+
pipenv shell
|
140 |
+
python run_pipeline.py
|
141 |
+
```
|
142 |
+
or alternatively prefix your command with `pipenv run`:
|
143 |
+
```bash
|
144 |
+
pipenv run python run_pipeline.py
|
145 |
+
```
|
146 |
+
|
147 |
+
#### Generation pipeline
|
148 |
+
To run the generation pipeline, use the following example command:
|
149 |
+
```bash
|
150 |
+
python run_generation_pipeline.py \
|
151 |
+
--prompt "Write a good and comprehensive movie review about a specific movie." \
|
152 |
+
--task_description "Assistant is a large language model that is tasked with writing movie reviews."
|
153 |
+
```
|
154 |
+
For more information, refer to our [generation task example](docs/examples.md#generating-movie-reviews-generation-task).
|
155 |
+
|
156 |
+
<br />
|
157 |
+
|
158 |
+
Enjoy the results. Completion of these steps yields a **refined (calibrated)
|
159 |
+
prompt** tailored for your task, alongside a **benchmark** featuring challenging samples,
|
160 |
+
stored in the default `dump` path.
|
161 |
+
|
162 |
+
|
163 |
+
|
164 |
+
## Tips
|
165 |
+
|
166 |
+
- Prompt accuracy may fluctuate during the optimization. To identify the best prompts, we recommend continuous refinement following the initial generation of the benchmark. Set the number of optimization iterations with `--num_steps` and control sample generation by specifying `max_samples` in the `dataset` section. For instance, setting `max_samples: 50` and `--num_steps 30` limits the benchmark to 50 samples, allowing for 25 additional refinement iterations, assuming 10 samples per iteration.
|
167 |
+
|
168 |
+
- The framework supports checkpoints for easy resumption of optimization from the last saved state. It automatically saves the most recent optimization state in a `dump` path. Use `--output_dump` to set this path and `--load_path` to resume from a checkpoint.
|
169 |
+
- The iterations include multiple calls to the LLM service, with long prompts and requests for a relatively large amount of generated tokens by the LLM. This might take time ~1 minute (especially in the generative tasks), so please be patient.
|
170 |
+
- If there are some issues with the Argilla server connection/error, try to restart the space.
|
171 |
+
<!--
|
172 |
+
Meanwhile, the num_initialize_samples and num_generated_samples fields within the meta_prompts section specify the counts for initial and per iteration sample generation, respectively. -->
|
173 |
+
|
174 |
+
|
175 |
+
## Prompt Sensitivity Example
|
176 |
+
You write a prompt for identifying movie spoilers:
|
177 |
+
```
|
178 |
+
Review the content provided and indicate whether it includes any significant plot revelations or critical points that could reveal important elements of the story or its outcome. Respond with "Yes" if it contains such spoilers or critical insights, and "No" if it refrains from unveiling key story elements.
|
179 |
+
```
|
180 |
+
This prompt scores 81 on your [benchmark](docs/examples.md#filtering-movie-reviews-with-spoilers-classification-task) using GPT-4 LLM. Then, you make a minor modification:
|
181 |
+
```
|
182 |
+
Review the text and determine if it provides essential revelations or critical details about the story that would constitute a spoiler. Respond with "Yes" for the presence of spoilers, and "No" for their absence.
|
183 |
+
```
|
184 |
+
Surprisingly, the second prompt scores 72, representing an 11% drop in accuracy. This illustrates the need for a careful prompt engineering process.
|
185 |
+
|
186 |
+
## 🚀 Contributing
|
187 |
+
|
188 |
+
Your contributions are greatly appreciated! If you're eager to contribute, kindly refer to our [Contributing Guidelines](docs/contributing.md)) for detailed information.
|
189 |
+
|
190 |
+
<!-- For an insight into our future plans, visit our Project Roadmap. -->
|
191 |
+
If you wish to be a part of our journey, we invite you to connect with us through our [Discord Community](https://discord.gg/G2rSbAf8uP). We're excited to have you onboard!
|
192 |
+
|
193 |
+
## 🛡 Disclaimer
|
194 |
+
|
195 |
+
The AutoPrompt project is provided on an "as-is" basis without any guarantees or warranties, expressed or implied.
|
196 |
+
|
197 |
+
Our perspective on the optimization and usage of prompts:
|
198 |
+
|
199 |
+
1. The core objective of AutoPrompt is to refine and perfect prompts to achieve high-quality results. This is achieved through an iterative calibration process, which helps in reducing errors and enhancing the performance of LLMs. However, the framework does not guarantee absolute correctness or unbiased results in every instance.
|
200 |
+
|
201 |
+
2. AutoPrompt aims to improve the reliability of prompts and mitigate sensitivity issues, but it does not claim to completely eliminate such issues.
|
202 |
+
<!-- Our community is committed to exploring the most effective ways to interact with LLMs, fostering a space for diverse views and approaches. -->
|
203 |
+
|
204 |
+
Please note that using LLMs like OpenAI's GPT-4, supported by AutoPrompt, may lead to significant costs due to token usage. By using AutoPrompt, you acknowledge your responsibility to monitor and manage your token use and expenses. We advise regularly reviewing your LLM provider's API usage and establishing limits or alerts to prevent unexpected charges.
|
205 |
+
To manage costs associated with GPT-4 LLM's token usage, the framework enables users to set a budget limit for optimization, in USD or token count, configured as illustrated [here](docs/examples.md#steps-to-run-example).
|
206 |
+
|
207 |
+
## Citation
|
208 |
+
|
209 |
+
If you have used our code in your research, please cite our [paper](https://arxiv.org/abs/2402.03099):
|
210 |
+
|
211 |
+
```
|
212 |
+
@misc{2402.03099,
|
213 |
+
Author = {Elad Levi and Eli Brosh and Matan Friedmann},
|
214 |
+
Title = {Intent-based Prompt Calibration: Enhancing prompt optimization with synthetic boundary cases},
|
215 |
+
Year = {2024},
|
216 |
+
Eprint = {arXiv:2402.03099},
|
217 |
+
}
|
218 |
+
```
|
219 |
+
|
220 |
+
|
221 |
+
## License
|
222 |
+
|
223 |
+
This framework is licensed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
|
224 |
+
|
225 |
+
## ✉️ Support / Contact us
|
226 |
+
- [Community Discord](https://discord.gg/G2rSbAf8uP)
|
227 |
+
- Our email: [autopromptai@gmail.com](mailto:autopromptai@gmail.com)
|
228 |
+
|
229 |
+
|
AutoPrompt/config/config_default.yml
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
use_wandb: False
|
2 |
+
dataset:
|
3 |
+
name: 'dataset'
|
4 |
+
records_path: null
|
5 |
+
initial_dataset: ''
|
6 |
+
label_schema: ["Yes", "No"]
|
7 |
+
max_samples: 10
|
8 |
+
semantic_sampling: False # Change to True in case you don't have M1. Currently there is an issue with faiss and M1
|
9 |
+
|
10 |
+
|
11 |
+
annotator:
|
12 |
+
method : 'argilla'
|
13 |
+
config:
|
14 |
+
api_url: 'https://kenken999-arglira.hf.space'
|
15 |
+
api_key: '12345678'
|
16 |
+
workspace: 'team'
|
17 |
+
time_interval: 5
|
18 |
+
|
19 |
+
predictor:
|
20 |
+
method : 'llm'
|
21 |
+
config:
|
22 |
+
llm:
|
23 |
+
type: 'OpenAI'
|
24 |
+
name: 'llama3-70b-8192'
|
25 |
+
# async_params:
|
26 |
+
# retry_interval: 10
|
27 |
+
# max_retries: 2
|
28 |
+
model_kwargs: {"seed": 220}
|
29 |
+
num_workers: 5
|
30 |
+
prompt: 'prompts/predictor_completion/prediction.prompt'
|
31 |
+
mini_batch_size: 1 #change to >1 if you want to include multiple samples in the one prompt
|
32 |
+
mode: 'prediction'
|
33 |
+
|
34 |
+
meta_prompts:
|
35 |
+
folder: 'prompts/meta_prompts_classification'
|
36 |
+
num_err_prompt: 1 # Number of error examples per sample in the prompt generation
|
37 |
+
num_err_samples: 2 # Number of error examples per sample in the sample generation
|
38 |
+
history_length: 4 # Number of sample in the meta-prompt history
|
39 |
+
num_generated_samples: 10 # Number of generated samples at each iteration
|
40 |
+
num_initialize_samples: 10 # Number of generated samples at iteration 0, in zero-shot case
|
41 |
+
samples_generation_batch: 10 # Number of samples generated in one call to the LLM
|
42 |
+
num_workers: 5 #Number of parallel workers
|
43 |
+
warmup: 4 # Number of warmup steps
|
44 |
+
|
45 |
+
eval:
|
46 |
+
function_name: 'accuracy'
|
47 |
+
num_large_errors: 4
|
48 |
+
num_boundary_predictions : 0
|
49 |
+
error_threshold: 0.5
|
50 |
+
|
51 |
+
llm:
|
52 |
+
type: 'OpenAI'
|
53 |
+
name: 'llama3-70b-8192'
|
54 |
+
temperature: 0.8
|
55 |
+
|
56 |
+
stop_criteria:
|
57 |
+
max_usage: 2 #In $ in case of OpenAI models, otherwise number of tokens
|
58 |
+
patience: 10 # Number of patience steps
|
59 |
+
min_delta: 0.01 # Delta for the improvement definition
|
AutoPrompt/config/config_diff/config_batch_classification.yml
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
use_wandb: True
|
2 |
+
dataset:
|
3 |
+
label_schema: ["Yes", "No"]
|
4 |
+
|
5 |
+
annotator:
|
6 |
+
method : 'llm_batch'
|
7 |
+
config:
|
8 |
+
instructions: ['Is there is an address in the text?', 'Is there is a phone number in the text?',
|
9 |
+
'Is there is a password in the text?']
|
10 |
+
aggregation_mode: 'exist' #'majority_vote', 'exist', or 'all'. exist/all is working only in case label_schema: ["Yes", "No"]!
|
11 |
+
estimator_config:
|
12 |
+
num_workers: 2
|
13 |
+
prompt: 'prompts/predictor/prediction.prompt'
|
14 |
+
mode: 'annotation'
|
AutoPrompt/config/config_diff/config_generation.yml
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
annotator:
|
2 |
+
method : ''
|
3 |
+
|
4 |
+
dataset:
|
5 |
+
max_samples: 20
|
6 |
+
label_schema: ["1","2","3","4","5"]
|
7 |
+
|
8 |
+
predictor:
|
9 |
+
method : 'llm'
|
10 |
+
config:
|
11 |
+
prompt: 'prompts/predictor_completion/prediction_generation.prompt'
|
12 |
+
mini_batch_size: 1
|
13 |
+
llm:
|
14 |
+
type: 'OpenAI'
|
15 |
+
name: 'llama3-70b-8192' #'gpt-3.5-turbo-0613'
|
16 |
+
num_workers: 7
|
17 |
+
|
18 |
+
meta_prompts:
|
19 |
+
folder: 'prompts/meta_prompts_generation'
|
20 |
+
warmup: 1
|
21 |
+
|
22 |
+
eval:
|
23 |
+
function_name: 'ranking'
|
24 |
+
error_threshold: 4
|
25 |
+
|
AutoPrompt/config/config_diff/config_ranking.yml
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
dataset:
|
2 |
+
label_schema: ["1","2","3","4","5"]
|
3 |
+
|
4 |
+
meta_prompts:
|
5 |
+
folder: 'prompts/meta_prompts_ranking'
|
AutoPrompt/config/llm_env.yml
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
openai:
|
2 |
+
OPENAI_API_KEY: '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'
|
3 |
+
OPENAI_API_BASE: 'https://api.groq.com/openai/v1'
|
4 |
+
OPENAI_ORGANIZATION: ''
|
5 |
+
|
6 |
+
azure:
|
7 |
+
AZURE_OPENAI_API_KEY: ''
|
8 |
+
AZURE_OPENAI_ENDPOINT: ''
|
9 |
+
OPENAI_API_VERSION: ''
|
10 |
+
|
11 |
+
google:
|
12 |
+
GOOGLE_API_KEY: ''
|
AutoPrompt/dataset/base_dataset.py
ADDED
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os.path
|
2 |
+
import logging
|
3 |
+
import pandas as pd
|
4 |
+
from pathlib import Path
|
5 |
+
from datetime import datetime
|
6 |
+
import csv
|
7 |
+
|
8 |
+
from utils.dedup import Dedup
|
9 |
+
|
10 |
+
class DatasetBase:
|
11 |
+
"""
|
12 |
+
This class store and manage all the dataset records (including the annotations and prediction)
|
13 |
+
"""
|
14 |
+
|
15 |
+
def __init__(self, config):
|
16 |
+
if config.records_path is None:
|
17 |
+
self.records = pd.DataFrame(columns=['id', 'text', 'prediction',
|
18 |
+
'annotation', 'metadata', 'score', 'batch_id'])
|
19 |
+
else:
|
20 |
+
self.records = pd.read_csv(config.records_path)
|
21 |
+
dt_string = datetime.now().strftime("%d_%m_%Y_%H_%M_%S")
|
22 |
+
|
23 |
+
self.name = config.name + '__' + dt_string
|
24 |
+
self.label_schema = config.label_schema
|
25 |
+
self.dedup = Dedup(config)
|
26 |
+
self.sample_size = config.get("sample_size", 3)
|
27 |
+
self.semantic_sampling = config.get("semantic_sampling", False)
|
28 |
+
if not config.get('dedup_new_samples', False):
|
29 |
+
self.remove_duplicates = self._null_remove
|
30 |
+
|
31 |
+
def __len__(self):
|
32 |
+
"""
|
33 |
+
Return the number of samples in the dataset.
|
34 |
+
"""
|
35 |
+
return len(self.records)
|
36 |
+
|
37 |
+
def __getitem__(self, batch_idx):
|
38 |
+
"""
|
39 |
+
Return the batch idx.
|
40 |
+
"""
|
41 |
+
extract_records = self.records[self.records['batch_id'] == batch_idx]
|
42 |
+
extract_records = extract_records.reset_index(drop=True)
|
43 |
+
return extract_records
|
44 |
+
|
45 |
+
def get_leq(self, batch_idx):
|
46 |
+
"""
|
47 |
+
Return all the records up to batch_idx (includes).
|
48 |
+
"""
|
49 |
+
extract_records = self.records[self.records['batch_id'] <= batch_idx]
|
50 |
+
extract_records = extract_records.reset_index(drop=True)
|
51 |
+
return extract_records
|
52 |
+
|
53 |
+
def add(self, sample_list: dict = None, batch_id: int = None, records: pd.DataFrame = None):
|
54 |
+
"""
|
55 |
+
Add records to the dataset.
|
56 |
+
:param sample_list: The samples to add in a dict structure (only used in case record=None)
|
57 |
+
:param batch_id: The batch_id for the upload records (only used in case record= None)
|
58 |
+
:param records: dataframes, update using pandas
|
59 |
+
"""
|
60 |
+
if records is None:
|
61 |
+
records = pd.DataFrame([{'id': len(self.records) + i, 'text': sample, 'batch_id': batch_id} for
|
62 |
+
i, sample in enumerate(sample_list)])
|
63 |
+
self.records = pd.concat([self.records, records], ignore_index=True)
|
64 |
+
|
65 |
+
def update(self, records: pd.DataFrame):
|
66 |
+
"""
|
67 |
+
Update records in dataset.
|
68 |
+
"""
|
69 |
+
# Ignore if records is empty
|
70 |
+
if len(records) == 0:
|
71 |
+
return
|
72 |
+
|
73 |
+
# Set 'id' as the index for both DataFrames
|
74 |
+
records.set_index('id', inplace=True)
|
75 |
+
self.records.set_index('id', inplace=True)
|
76 |
+
|
77 |
+
# Update using 'id' as the key
|
78 |
+
self.records.update(records)
|
79 |
+
|
80 |
+
# Remove null annotations
|
81 |
+
if len(self.records.loc[self.records["annotation"]=="Discarded"]) > 0:
|
82 |
+
discarded_annotation_records = self.records.loc[self.records["annotation"]=="Discarded"]
|
83 |
+
#TODO: direct `discarded_annotation_records` to another dataset to be used later for corner-cases
|
84 |
+
self.records = self.records.loc[self.records["annotation"]!="Discarded"]
|
85 |
+
|
86 |
+
# Reset index
|
87 |
+
self.records.reset_index(inplace=True)
|
88 |
+
|
89 |
+
def modify(self, index: int, record: dict):
|
90 |
+
"""
|
91 |
+
Modify a record in the dataset.
|
92 |
+
"""
|
93 |
+
self.records[index] = record
|
94 |
+
|
95 |
+
def apply(self, function, column_name: str):
|
96 |
+
"""
|
97 |
+
Apply function on each record.
|
98 |
+
"""
|
99 |
+
self.records[column_name] = self.records.apply(function, axis=1)
|
100 |
+
|
101 |
+
def save_dataset(self, path: Path):
|
102 |
+
self.records.to_csv(path, index=False, quoting=csv.QUOTE_NONNUMERIC)
|
103 |
+
|
104 |
+
def load_dataset(self, path: Path):
|
105 |
+
"""
|
106 |
+
Loading dataset
|
107 |
+
:param path: path for the csv
|
108 |
+
"""
|
109 |
+
if os.path.isfile(path):
|
110 |
+
self.records = pd.read_csv(path, dtype={'annotation': str, 'prediction': str, 'batch_id': int})
|
111 |
+
else:
|
112 |
+
logging.warning('Dataset dump not found, initializing from zero')
|
113 |
+
|
114 |
+
def remove_duplicates(self, samples: list) -> list:
|
115 |
+
"""
|
116 |
+
Remove (soft) duplicates from the given samples
|
117 |
+
:param samples: The samples
|
118 |
+
:return: The samples without duplicates
|
119 |
+
"""
|
120 |
+
dd = self.dedup.copy()
|
121 |
+
df = pd.DataFrame(samples, columns=['text'])
|
122 |
+
df_dedup = dd.sample(df, operation_function=min)
|
123 |
+
return df_dedup['text'].tolist()
|
124 |
+
|
125 |
+
def _null_remove(self, samples: list) -> list:
|
126 |
+
# Identity function that returns the input unmodified
|
127 |
+
return samples
|
128 |
+
|
129 |
+
def sample_records(self, n: int = None) -> pd.DataFrame:
|
130 |
+
"""
|
131 |
+
Return a sample of the records after semantic clustering
|
132 |
+
:param n: The number of samples to return
|
133 |
+
:return: A sample of the records
|
134 |
+
"""
|
135 |
+
n = n or self.sample_size
|
136 |
+
if self.semantic_sampling:
|
137 |
+
dd = self.dedup.copy()
|
138 |
+
df_samples = dd.sample(self.records).head(n)
|
139 |
+
|
140 |
+
if len(df_samples) < n:
|
141 |
+
df_samples = self.records.head(n)
|
142 |
+
else:
|
143 |
+
df_samples = self.records.sample(n)
|
144 |
+
return df_samples
|
145 |
+
|
146 |
+
@staticmethod
|
147 |
+
def samples_to_text(records: pd.DataFrame) -> str:
|
148 |
+
"""
|
149 |
+
Return a string that organize the samples for a meta-prompt
|
150 |
+
:param records: The samples for the step
|
151 |
+
:return: A string that contains the organized samples
|
152 |
+
"""
|
153 |
+
txt_res = '##\n'
|
154 |
+
for i, row in records.iterrows():
|
155 |
+
txt_res += f"Sample:\n {row.text}\n#\n"
|
156 |
+
return txt_res
|
157 |
+
|
158 |
+
|
AutoPrompt/docs/AutoPrompt_Diagram.png
ADDED
![]() |
Git LFS Details
|
AutoPrompt/docs/arch_overview.png
ADDED
![]() |
Git LFS Details
|
AutoPrompt/docs/architecture.md
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Architecture Guide
|
2 |
+
<img src="./arch_overview.png" alt="Architecture overview" width="70%">
|
3 |
+
|
4 |
+
This document outlines the system design of AutoPrompt, which is built around four primary components: Dataset, Estimator, Evaluator, and Optimizer Manager. These components collaborate to refine prompts through an iterative process involving sample generation, annotation, prediction, evaluation of scores, and optimization.
|
5 |
+
|
6 |
+
* __Dataset.__ This component manages the dataset and performs operations such as insertion, modification, deletion, and applying functions, on the dataset rows. The component also handles data cleaning by removing semantic duplications and performing semantic sampling. Since the system is optimized for small datasets, the current implementation is based on a local database using [pandas](https://pandas.pydata.org).
|
7 |
+
* __Estimator.__ The estimator is responsible for estimating a batch of samples. We implement this component in two forms, once for the predictions and once for the annotations. Such a generic implementation (for both use cases) allows for easy adaptation of the system to diverse use cases, including prompt calibration, prompt distillation and prompt squashing. The currently supported types of estimators are:
|
8 |
+
1. __Human annotation__: Using [Argilla UI](https://docs.argilla.io/en/latest/index.html#). The system is connected to the Argilla server and is waiting until the annotation task is completed.
|
9 |
+
2. __LLM estimator__: Using an LLM to estimate the sample given a prompt. We support various types of LLMs, using [Langchain](https://python.langchain.com/docs/get_started/introduction) integration. For efficiency, the system supports parallelism using both workers and async calls. The system also supports sending a few samples in one prompt (prompt batching), which can reduce the cost significantly.
|
10 |
+
3. __Batch estimator__: The batch estimator runs multiple LLM estimators and adds a policy layer to aggregate the results. It is mainly used for prompt-squashing, aiming to optimize a single prompt that achieves the efficacy of multiple prompts. For example, in case of a user with several moderation rules.
|
11 |
+
* __Evaluator.__ The evaluator is responsible for evaluating the records after the prediction and annotation stage. The evaluator accepts a function and applies it to each row. It's important to note that the function is generic, for example in the generation pipeline the function is performed by invoking an LLM. The evaluator is also responsible for defining the errors and handling the error analysis using the Analyzer meta-prompt.
|
12 |
+
* __Optimizer manager (Optimization Pipeline).__ The optimizer manager handles the whole optimization process flow, it performs the iteration steps described in the system flow [documentation](how-it-works.md) and is responsible for stopping and returning the final calibrated prompt. The currently supported criteria are either convergence (determined by a patient hyper-parameter), or usage limit (determined by maximal cost if relevant, or by the number of generated tokens).
|
13 |
+
|
14 |
+
## Design Considerations
|
15 |
+
|
16 |
+
- **Modularity and Flexibility**: Each component is designed with modularity in mind, allowing for easy swaps or upgrades to accommodate different use cases.
|
17 |
+
- **Scalability**: The framework's architecture supports scaling, from handling small datasets efficiently to accommodating the computational demands of parallel processing and batch estimation.
|
18 |
+
- **Cost-Efficiency**: Features like prompt batching and the use of a batch estimator are specifically included to manage and minimize operational costs associated with LLM usage.
|
AutoPrompt/docs/argilla_movie_spoilers_example.png
ADDED
![]() |
Git LFS Details
|
AutoPrompt/docs/autoprompt_recording.gif
ADDED
![]() |
Git LFS Details
|
AutoPrompt/docs/contributing.md
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Contributing to AutoPrompt
|
2 |
+
|
3 |
+
Thank you for considering contributing to AutoPrompt! We deeply appreciate your interest in improving our project.
|
4 |
+
|
5 |
+
## Bug Fixes and Documentation Enhancements
|
6 |
+
|
7 |
+
Bug fixes and documentation improvements, including compelling examples and use cases, greatly benefit our project. If you encounter any bugs or identify areas where the documentation could be strengthened, please do not hesitate to submit a pull request (PR) containing your proposed changes.
|
8 |
+
|
9 |
+
## Feature Requests
|
10 |
+
|
11 |
+
For significant feature additions, we encourage you to open an issue on GitHub. Additionally, we invite you to join our Discord community and engage in discussions about the feature in the #features-requests channel. This collaborative environment enables us to delve deeper into the proposed features and foster meaningful dialogue.
|
12 |
+
|
13 |
+
We value your contributions and look forward to working together to enhance AutoPrompt!
|