{"id":26811230,"url":"https://github.com/exios66/n-back-task","last_synced_at":"2026-02-18T07:02:55.015Z","repository":{"id":282500276,"uuid":"948799586","full_name":"Exios66/n-back-task","owner":"Exios66","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-16T22:57:08.000Z","size":22,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-18T22:40:25.066Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://exios66.github.io/n-back-task/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Exios66.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-15T01:39:30.000Z","updated_at":"2025-03-16T22:57:11.000Z","dependencies_parsed_at":"2025-03-15T05:45:33.548Z","dependency_job_id":null,"html_url":"https://github.com/Exios66/n-back-task","commit_stats":null,"previous_names":["exios66/n-back-task"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Exios66/n-back-task","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2Fn-back-task","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2Fn-back-task/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2Fn-back-task/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2Fn-back-task/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Exios66","download_url":"https://codeload.github.com/Exios66/n-back-task/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Exios66%2Fn-back-task/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29571888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T06:19:27.422Z","status":"ssl_error","status_checked_at":"2026-02-18T06:18:44.348Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2025-03-30T01:38:02.702Z","updated_at":"2026-02-18T07:02:54.994Z","avatar_url":"https://github.com/Exios66.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The N-Back Task\n\n## v0.0.1 Updates\n\n### Key Enhancements and Debug Fixes\n\n1. Unified Response Handling:\n* The new global function processResponse(e) is used by both the keyboard and touch events. It checks if a trial is in progress, calculates the reaction time, determines if the response is correct, and then clears a scheduled timeout. This avoids duplicate code and makes the logic more robust.\n2. Global Current Trial Storage:\n* A global variable currentTrial now holds the trial information so that it’s available to the response handler regardless of input type.\n3. Timeout Management:\n* The response timeout (stored in responseTimeout) is cleared as soon as a valid response is received, preventing the omission handler from firing if the user responded in time.\n4. Consistent UI Feedback:\n* The display’s classes are updated to show “active,” “correct,” or “error” states, ensuring a smooth visual transition.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexios66%2Fn-back-task","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexios66%2Fn-back-task","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexios66%2Fn-back-task/lists"}