{"id":19591319,"url":"https://github.com/humanloop/frontend-test","last_synced_at":"2026-06-12T08:32:46.834Z","repository":{"id":166046678,"uuid":"329016601","full_name":"humanloop/frontend-test","owner":"humanloop","description":"Take home test for frontend work","archived":false,"fork":false,"pushed_at":"2021-01-13T10:12:36.000Z","size":219,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-26T13:47:38.945Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/humanloop.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}},"created_at":"2021-01-12T14:43:15.000Z","updated_at":"2023-08-15T11:19:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"dee88aa3-065e-4930-8d68-8ce96ffb4abc","html_url":"https://github.com/humanloop/frontend-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/humanloop/frontend-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humanloop%2Ffrontend-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humanloop%2Ffrontend-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humanloop%2Ffrontend-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humanloop%2Ffrontend-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/humanloop","download_url":"https://codeload.github.com/humanloop/frontend-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humanloop%2Ffrontend-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34236551,"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-06-12T02:00:06.859Z","response_time":109,"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-11-11T08:28:29.667Z","updated_at":"2026-06-12T08:32:46.820Z","avatar_url":"https://github.com/humanloop.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Humanloop take home test\n\nThis is a frontend exercise that will give you a chance to see some of the things we build at Humanloop.\n\nAt Humanloop we want to make instructing AI systems as intuitive as teaching a colleague. Right now, machine learning instruction happens primarily through providing hundreds of hand labelled examples, so we want to make that process as easy, intuitive and _fun_ as possible.\n\nFor this task, we look at the problem of [named-entity recognition (NER)](https://en.wikipedia.org/wiki/Named-entity_recognition). We would like you to build an annotation interface for NER – to display a textual document and be able to label spans of text with one of a handful of classes.\n\n### Requirements\n\n- the user needs to be able to read the document\n- select a span of text\n- assign one of the predefined labels `['person', 'organization', 'location', 'misc']` to the text.\n- the user can see the state of the highlighted text\n- the user can remove an annoation\n- the annotations should be available as a JSON array of objects with the following structure of start and end indexes, the inside text, and the label\n\n```\n[{\"start\": 12, \"end\": 30, \"text\": \"Southampton United\", label: 'organization'},]\n```\n\nHow you do this is up to you! People can spend a long time annotating documents like this, so some thought to making intuitive, robust and maybe even fun is wanted.\n\n# Guidelines\n\nWe'd like you to spend no more than 3-4 hours working on this. Please let us know how much time you spent so we can calibrate our expectations.\n\n# Hints / Tips\n\n- This initial code is using React. If you'd prefer to use other libraries or frameworks, you're welcome to.\n- You can use any libraries, frameworks, tools you want.\n- Pick any UI toolkit or component library (Bootstrap, TailwindCSS, Ant Design etc.) you'd like to use, but try to make everything look consistent.\n- How you want to store state is up to you.\n- It doesn't have to look pixel perfect and it doesn't need amazing animations, but we do care a lot about UX and usability at Humanloop.\n- Paying attention to details like padding, alignment, and cursors is appreciated!\n- Handle the UX edge-cases! For example, what happens when the spans overflow a single line? \n\n# Getting started\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\nRun the following commands to get started.\n\n```\ncd app\nnpm start\n```\n\nYou can clear out the file structure as you wish.\n\nAny questions, let us know! team@humanloop.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumanloop%2Ffrontend-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhumanloop%2Ffrontend-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumanloop%2Ffrontend-test/lists"}