{"id":23735383,"url":"https://github.com/murraylab/alienartifactslearningtask","last_synced_at":"2026-07-01T23:32:27.654Z","repository":{"id":50148590,"uuid":"515342751","full_name":"murraylab/alienArtifactsLearningTask","owner":"murraylab","description":"Django code for the alien artificats task","archived":false,"fork":false,"pushed_at":"2023-03-09T13:35:39.000Z","size":3878,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-28T10:27:57.142Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/murraylab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-18T21:12:21.000Z","updated_at":"2022-08-02T06:38:58.000Z","dependencies_parsed_at":"2025-02-20T15:40:25.925Z","dependency_job_id":"212f55e4-5006-402c-9308-58bff1d54227","html_url":"https://github.com/murraylab/alienArtifactsLearningTask","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/murraylab/alienArtifactsLearningTask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murraylab%2FalienArtifactsLearningTask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murraylab%2FalienArtifactsLearningTask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murraylab%2FalienArtifactsLearningTask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murraylab%2FalienArtifactsLearningTask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/murraylab","download_url":"https://codeload.github.com/murraylab/alienArtifactsLearningTask/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murraylab%2FalienArtifactsLearningTask/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35027341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-31T06:15:01.379Z","updated_at":"2026-07-01T23:32:27.636Z","avatar_url":"https://github.com/murraylab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alien Artifacts Learning Task\n\nBy Warren Woodrich Pettine, July 2022\n\nThis code runs the tasks used in \"Pettine, W. W., Raman, D. V., Redish, A. D., Murray, J. D.\n“Human generalization of internal representations through prototype learning with goal-directed attention,” March 2023, Nature Human Behavior.\n\nhttps://www.nature.com/articles/s41562-023-01543-7\n\nWhen collecting data for that paper, the task webapp and associated database were hosted on Microsoft Azure. If you prefer to host on another service, the structure of several components will likely need to be modified. \n\nProvided everything is installed correctly, the app should be able to run locally. When you are considering hosting it remote, make sure to update the Google recaptcha variables `GOOGLE_RECAPTCHA_SITE_KEY` and `GOOGLE_RECAPTCHA_SECRET_KEY`. \n \n\nIf you have questions about the implementation, please contact Warren at warren.pettine@gmail.com.\n\n## Django and PostgreSQL sample for Azure App Service\n\nThe code is based on a  is a sample application available via the tutorial at: \n[Build a Python and PostgreSQL web app in Azure App Service](https://docs.microsoft.com/azure/app-service/containers/tutorial-python-postgresql-app). \n\nThe sample is a simple Python Django application that connects to a PostgreSQL database.\n\nThe database connection information is specified via environment variables `DBHOST`, `DBPASS`, `DBUSER`, and `DBNAME`. This app always uses the default PostgreSQL port.\nThe `DBHOST` environment variable is expected to contain *only* the server name, not the full URL, which is constructed at run time (see azuresite/production.py). Similarly, `DBUSER` is expected to contain only the user name, not username@servername as before, because using the simpler `DBHOST` the code can also construct the correct login form at run time (again in azuresite/production.py), avoiding failures that arise when `DBUSER` lacks the @servername portion.  \n\nThe storage container keys are specified in backend/custom_azure.py. \n\n\n# Contributing\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurraylab%2Falienartifactslearningtask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurraylab%2Falienartifactslearningtask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurraylab%2Falienartifactslearningtask/lists"}