PathAI22 open jobs

Senior Software Engineer, Fullstack

Full-stackPosted over 2 months agofrom PathAI's own hiring page

Work type
HybridBoston
Experience
5+ years
Pay
$128k–196k a year
Posted
Over 2 months agoOpen 3 months
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Docker, Vue, AWS and 10 more

About the job

PathAI's mission is to improve patient outcomes with AI-powered pathology. 

Our platform promises substantial improvements to the accuracy of diagnosis and the efficacy of treatment of diseases like cancer, leveraging modern approaches in machine learning and artificial intelligence. We have a track record of success in deploying AI algorithms for histopathology in translational research, pathology labs and clinical trials.  Rigorous science and careful analysis is critical to the success of everything we do. Our team, composed of diverse employees with a wide range of backgrounds and experiences, is passionate about solving challenging problems and making a huge impact on patient outcomes.

We're looking for skilled and experienced engineers to join our team and help lay the groundwork for our growing software platform. We believe in using the best tool for the job. At PathAI, we are constantly evaluating our tech stack and our current tools consist of:

  • Python
  • Vue.js
  • Django + DRF
  • Docker
  • AWS: EKS, S3, RDS/PostgreSQL, SQS, MSK/Kafka

The Opportunity

We’re looking for a Fullstack Senior Software Engineer to join our team. You will help solve interesting problems with code and work with a wide range of systems, processes, and technologies to solve problems in sustainable ways. You will drive the architecture of our application platform, considering the team's needs and our future product roadmap goals.

  • You will build new features for internal and external users, and refactor existing ones to make them better.
  • You will work across the full lifecycle of development; you will take responsibility for the quality of the code produced by you and the team.
  • You will collaborate with product, design, machine learning, and infrastructure teams.
  • You will contribute to a SaaS platform used in clinical trial workflows, ensuring reliability, data integrity, and compliance with industry standards.
  • You will collaborate with clinical, QA, and regulatory teams to ensure software changes meet validation expectations and support inspection readiness.
  • You will drive and uphold high engineering standards, bringing consistency to the codebases you encounter and ensuring software is adequately reviewed, tested, and integrated.
  • You will mentor, learn, and share knowledge with others along the way.

Who You Are:
(Required)

  • You have a BS in Computer Science, Software Engineering or closely related technical field.
  • You have 5+ years of full life cycle development experience.
  • You have demonstrated the ability to take on complex tasks, learn quickly and work in a proactive manner.
  • You have demonstrated experience and skills in designing and building Python-based (FastAPI or Django) applications.
  • You have experience with modern frontend JavaScript frameworks such as React, Vue, or equivalent for building responsive, user-friendly interfaces.
  • You have a demonstrated foundation in data structures, algorithms, and OO design.
  • You have a demonstrated ability to collaborate with a distributed team and to work autonomously on projects; You have demonstrated problem-solving skills and the ability to work in a fast-paced, agile environment.
  • You have strong interpersonal and communication skills, with the ability to attend client-facing meetings and explain technical concepts to non-experts.
  • You have demonstrated cloud platform experience (AWS) 

Preferred:

  • You have experience working in the healthtech industry
  • You have experience with modern frontend JavaScript frameworks such as React, Vue, or equivalent for building responsive, user-friendly interfaces.
  • You have hands-on experience with CI/CD tools, e.g. GitLab CI
  • You have demonstrated knowledge of containerization technologies like Docker and container orchestration tools like Kubernetes
  • You have knowledge of some IaC framework
  • You have excellent organizational skills and the ability to prioritize and manage multiple projects efficiently.

This is a hybrid position based in Boston, MA.
Relocation benefits are not available for this position.

The expected salary range for this position based on the primary location Boston, MA is $127,500 - $195,500.  Actual pay will be determined based on experience, qualifications, geographic location, and other job-related factors permitted by law.  

PathAI is an equal opportunity employer. It is our policy and practice to employ, promote, and otherwise treat any and all employees and applicants on the basis of merit, qualifications, and competence. The company's policy prohibits unlawful discrimination, including but not limited to, discrimination on the basis of Protected Veteran status, individuals with disabilities status, and consistent with all federal, state, or local laws.

Interested?Senior Software Engineer, Fullstack at PathAI

Apply on company site (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Docker, Vue, AWS and 10 more

Interview questions for this job

For the skills the ad mentions: Docker, Vue, AWS, Machine learning, Python, Django, Kubernetes, JavaScript, React, CI/CD, PostgreSQL, Kafka and FastAPI.

1,508 questions
  • Passing secrets to a Docker containerDocker

    You have 3 methods to get secrets to an app inside a docker container. The first 2 involve docker configuration. The last one is to have your apps directly fetch secrets from a secret store.

    1 - Environment variables

    According to "The 12 Factor App" guide, secrets are merely config, and they should always be set in the environment. You could set your secrets as environment variables during the docker run, and your app accesses them from there.

    2 - Mounted volumes

    You could have your secrets all within a particular configuration/secrets file, then mount that to your instance as a mounted volume.

    3 - Fetch from secret store

    As @030 mentioned, you can use Hashicorp Vault (or "Amazon Secrets Manager", or any service like that).
    Your app, or a sidecar app can fetch the secrets it needs directly, without having to deal with any configuration on the Docker container. This method would allow you to use Dynamically created secrets (a very appealing feature of such systems) and without having to worry about the secrets being view-able from the file system or from inspecting the env variables of the docker container.

    Personal Opinion

    I believe env variables is the way to go. It's easier to manage, and you can still pull from a secret store like Hashicorp Vault, if you have you CI build system pull the secrets during the build and set them when you deploy. You get the best of both worlds, and the added benefit of your developers not needing to write application code to fetch secrets. Devs should be focused on their code functionality, and not dealing with admin tasks like fetching passwords.

    Your application's code should be focused on it's own app functionality itself, and not dealing with backend tasks like fetching passwords. Just like the 12 Factor App states.

    Edit: changed last sentence to remove implication of Developer vs SysAdmin silo-ing. The tasks themselves should be separate from a code perspective, but DevOps is about the same persons keeping both in mind and not be limited.

    Personal Opinion (Update)

    Per @Dirk's excellent comment (Passing secrets to a Docker container), there is a very strong argument to prioritize a secret store over ENV vars, due to not wanting to leak them.

    From DevOps Stack Exchange: asked by Preston Martin, answered by BoomShadow (CC BY-SA 4.0)

  • What is nextTick and what does it do in Vue.js?Vue

    It's all about Timing

    nextTick allows you to execute code after you have changed some data and Vue.js has updated the virtual DOM based on your data change, but before the browser has rendered that change on the page.

    Normally, devs use the native JavaScript function setTimeout to achieve similar behavior, but using setTimeout relinquishes control over to the browser before it gives control back to you (via calling your callback).

    Example

    Let's say you changed some data; Vue then updates the vDOM based on that data change (the changes are not yet rendered to the screen by the browser).

    If you used nextTick at this point, your callback would get called immediately, and the browser would update the page after that callback finished executing.

    If you instead used setTimeout, then the browser would have a chance to update the page, and then your callback would get called.

    You can visualize this behavior by creating a small component like the following:
    (Check this fiddle to see it live)

    <template>
      <div class="hello">
        {{ msg }}
      </div>
    </template>
    <script>
    export default {
      name: 'HelloWorld',
      data() {
        return {
            msg: 'One'
        }
      },
      mounted() {
          this.msg = 'Two';
          this.$nextTick(() => {
              this.msg = 'Three';
          });
      }
    }
    </script>
    

    Run your local server. You will see the message "Three" being displayed.

    Now, replace this.$nextTick with setTimeout:

    setTimeout(() => {
        this.msg = 'Three';
    }, 0);
    

    Reload the browser. You will see "Two" before you see "Three".

    That's because, with setTimeout:

    1. Vue updated the vDOM to say "Two"
    2. Vue gave control to the browser
    3. The browser displayed "Two"
    4. Callback was called
    5. Vue updated the vDOM to say "Three"
    6. Vue gave control to the browser
    7. The browser displayed "Three"

    But with nextTick, we skip steps 2 and 3! Instead of passing over control after the first vDOM update, Vue calls the callback immediately, which prevents the browser from updating until the callback is finished. In this example, that means "Two" is never actually displayed.

    To understand how Vue implements this, you need to understand the concept of the JavaScript Event Loop and microtasks.

    Once you have those concepts clear(er), check the source code for nextTick.

    From Stack Overflow: asked by hidar, answered by Prashant (CC BY-SA 4.0)

  • What is AWS?AWS

    AWS (Amazon Web Services) is a cloud computing platform provided by Amazon. It offers a wide range of on-demand computing services and resources, such as servers, storage, databases, networking, and more, over the internet. AWS allows businesses and individuals to access and utilize these services without the need to own and manage physical hardware. It's commonly used for hosting websites, running applications, and storing data, offering scalability and flexibility to meet various computing needs.

    From Tech Vault (Apache 2.0)

  • What does the hidden layer in a neural network compute?Machine learning

    Three sentence version:

    • Each layer can apply any function you want to the previous layer (usually a linear transformation followed by a squashing nonlinearity).

    • The hidden layers' job is to transform the inputs into something that the output layer can use.

    • The output layer transforms the hidden layer activations into whatever scale you wanted your output to be on.

    Like you're 5:

    If you want a computer to tell you if there's a bus in a picture, the computer might have an easier time if it had the right tools.

    So your bus detector might be made of a wheel detector (to help tell you it's a vehicle) and a box detector (since the bus is shaped like a big box) and a size detector (to tell you it's too big to be a car). These are the three elements of your hidden layer: they're not part of the raw image, they're tools you designed to help you identify busses.

    If all three of those detectors turn on (or perhaps if they're especially active), then there's a good chance you have a bus in front of you.

    Neural nets are useful because there are good tools (like backpropagation) for building lots of detectors and putting them together.

    Like you're an adult

    A feed-forward neural network applies a series of functions to the data. The exact functions will depend on the neural network you're using: most frequently, these functions each compute a linear transformation of the previous layer, followed by a squashing nonlinearity. Sometimes the functions will do something else (like computing logical functions in your examples, or averaging over adjacent pixels in an image). So the roles of the different layers could depend on what functions are being computed, but I'll try to be very general.

    Let's call the input vector $x$, the hidden layer activations $h$, and the output activation $y$. You have some function $f$ that maps from $x$ to $h$ and another function $g$ that maps from $h$ to $y$.

    So the hidden layer's activation is $f(x)$ and the output of the network is $g(f(x))$.

    Why have two functions ($f$ and $g$) instead of just one?

    If the level of complexity per function is limited, then $g(f(x))$ can compute things that $f$ and $g$ can't do individually.

    An example with logical functions:

    For example, if we only allow $f$ and $g$ to be simple logical operators like "AND", "OR", and "NAND", then you can't compute other functions like "XOR" with just one of them. On the other hand, we could compute "XOR" if we were willing to layer these functions on top of each other:

    First layer functions:

    • Make sure that at least one element is "TRUE" (using OR)
    • Make sure that they're not all "TRUE" (using NAND)

    Second layer function:

    • Make sure that both of the first-layer criteria are satisfied (using AND)

    The network's output is just the result of this second function. The first layer transforms the inputs into something that the second layer can use so that the whole network can perform XOR.

    An example with images:

    Slide 61 from this talk--also available here as a single image--shows (one way to visualize) what the different hidden layers in a particular neural network are looking for.

    The first layer looks for short pieces of edges in the image: these are very easy to find from raw pixel data, but they're not very useful by themselves for telling you if you're looking at a face or a bus or an elephant.

    The next layer composes the edges: if the edges from the bottom hidden layer fit together in a certain way, then one of the eye-detectors in the middle of left-most column might turn on. It would be hard to make a single layer that was so good at finding something so specific from the raw pixels: eye detectors are much easier to build out of edge detectors than out of raw pixels.

    Read the rest at the sourceFrom Cross Validated: asked by FAtBalloon, answered by David J. Harris (CC BY-SA 3.0)

  • Why do lambdas defined in a loop with different values all return the same result?Python

    Assume you use a for loop to define a few different lambdas (or even plain functions), for example:

    >>> squares = []
    >>> for x in range(5):
    ...     squares.append(lambda: x**2)
    

    This gives you a list that contains 5 lambdas that calculate x**2. You might expect that, when called, they would return, respectively, 0, 1, 4, 9, and 16. However, when you actually try you will see that they all return 16:

    >>> squares[2]()
    16
    >>> squares[4]()
    16
    

    This happens because x is not local to the lambdas, but is defined in the outer scope, and it is accessed when the lambda is called — not when it is defined. At the end of the loop, the value of x is 4, so all the functions now return 4**2, that is 16. You can also verify this by changing the value of x and see how the results of the lambdas change:

    >>> x = 8
    >>> squares[2]()
    64
    

    In order to avoid this, you need to save the values in variables local to the lambdas, so that they don’t rely on the value of the global x:

    >>> squares = []
    >>> for x in range(5):
    ...     squares.append(lambda n=x: n**2)
    

    Here, n=x creates a new variable n local to the lambda and computed when the lambda is defined so that it has the same value that x had at that point in the loop. This means that the value of n will be 0 in the first lambda, 1 in the second, 2 in the third, and so on. Therefore each lambda will now return the correct result:

    >>> squares[2]()
    4
    >>> squares[4]()
    16
    

    Note that this behaviour is not peculiar to lambdas, but applies to regular functions too.

    From Python Frequently Asked Questions (PSF License Version 2)

  • Why should we hire you?Behavioural

    The strengths employers look for will depend on the job role. They may ask you questions like:

    • what are your main strengths?
    • why should we hire you?

    You can use specific examples to highlight your strengths, such as:

    • communication - to show you get on with others
    • problem solving - to show that you can find solutions
    • enthusiasm - to show that you have a positive attitude to work
    • flexibility - to show that you can adapt to different ways of working

    Plan your answers around 2 or 3 examples that are relevant to the job. You can back these up with qualifications or training you've done.

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Jobs in Boston (1,288) and Full-stack developer jobs in the USA (448)