You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
204 - No content - successful, BUT server does not send you information besides an "OK, your request succeeded, 204." Sometimes used on create, never used to get data, but more often for liveness endpoints (endpoints checked every 1 second - 10 minutes that just serve to respond "OK 204 I am alive" for monitoring) like www.something.com/health-check, which is used by monitoring or even sites like IsItDown.com - https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204
4XX - any missing or inacessable resource case "Oops you screwed up."
400 - Invalid Request - textbook "you screwed up". Example route /users/123 exists and accepts params. Howevewr the param must be a number and someoneo does /use
Welcome to the live interview! We'll be taking this problem set and working on a few additional problems.
Prompt 1 - Find Items
You want to know which items are of the same type. Create a function called findItems that takes the array of items and a type of item as parameters and returns an array of item names.
You will be writing one additional function to help analyze responses for a science quiz. You will then add a feature onto that function. Your interview will help guide you through this process. As a reminder, each response is represented as an object with the following keys:
question - the question that was asked, represented as a string.
response - the response that was given, represented as a string.
correct - whether or not the response was graded as correct, represented as a boolean.
isEssayQuestion - whether or not the response is an essay question, represented as a boolean.
Data for the entire month is stored in an array. For example:
Example of predicting NPS score from feedback comments, also means of bucketizing customer sentiment.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Method for quickly generating jest spy boilerplate given a list of stringified module dot class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Building A New File Based Data Connector/Processor
In order to process files of a new type, such as a new type of test we've never processed before, you'll have to define how to process that file within this module. Here are some steps that may help you accomplish this. The majority of this work will occur in the file ~/SzfdData/config/module.config.php and other areas of the SzfdData module.
It is a prerequisite that you have access to our szf code repository to perform these steps. Please get in touch with Jake Alves or another lead engineer to get access to this code repo.
1: Create a schema file by looking at the file you are trying to upload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters