sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.53k stars 261 forks source link

add isDotCom check for ML modeling experiments #5119

Closed hitesh-1997 closed 1 month ago

hitesh-1997 commented 1 month ago

Context

Adding a check isDotCom for ML experiments. This should restrict any modeling experiment to PLG users and will not run on enterprise.

Test plan

Manual testing

  1. Switch to s2 instance and added myself in the experiment override.
  2. Added debugger to check that experiment condition does not satisfy for me.

Changelog

  1. Adding isDotCom check for ML modeling experiments.