keepcalculator

06 Numbers and Powers

AI Coding Assistant at Work: What to Check First

Card No. 06·25544 · Updated · Standard formula, shown below

Before adopting an AI coding assistant at work, check what code and data it can access, how prompts and outputs are stored or used, whether the tool fits your security and licensing requirements, and how its suggestions will be reviewed. Run a small pilot on representative tasks before granting broad access or relying on generated code in production.

Clarify the job it should do

“AI coding assistant” can mean inline code completion, a chat tool that explains or writes code, an agent that edits files, or a system that can run commands and interact with development tools. These capabilities have different benefits and risks. A tool that suggests a short function inside an editor has a narrower operating scope than an agent able to change multiple files or execute tests.

Start with a specific, measurable use case rather than a general promise to make developers faster. Examples include drafting unit tests, explaining unfamiliar code, suggesting routine boilerplate, or helping navigate an internal codebase. Decide how you will assess quality: review time, accepted suggestions, defect rates, developer feedback, or task completion. No single measure captures the whole effect, and acceptance rate alone can reward plausible but incorrect suggestions.

Identify tasks that should remain out of scope during the pilot. For example, you might prohibit autonomous production changes, use with sensitive repositories, or submission of generated code without review. Write down what the assistant can do, what it cannot do, and who can approve exceptions.

Check data access, retention, and privacy

Find out exactly what information the assistant receives. Depending on its design and settings, that may include the text around a cursor, open files, repository context, prompts, tool results, or terminal output. A prompt can expose more than code: logs, configuration files, credentials, customer identifiers, and internal plans may appear in the context accidentally.

  • Ask whether submitted data is retained, for how long, and whether it is used to improve or train models.
  • Check who can access prompts, generated responses, and audit records, including the provider and any subprocessors.
  • Review deletion, data-location, and administrative-control options against your organization’s requirements.
  • Confirm whether the tool can exclude specified files, repositories, or sensitive content—and test that those controls work as expected.
  • Make sure staff know not to paste secrets or personal data unless the use is explicitly approved.

Do not assume that a business plan automatically meets every organization’s privacy or confidentiality needs. Review the applicable product terms and settings with the teams responsible for security, privacy, procurement, and data governance. Requirements differ by organization and jurisdiction, so avoid relying on a generic claim of “secure” or “private.”

Assess security and permissions

Map the assistant’s permissions before enabling it. Can it read the whole repository, access the network, run shell commands, install packages, or modify files? Keep permissions limited to the tasks in the pilot. An agent that can act should receive more scrutiny than a tool that only displays suggestions.

Generated code is untrusted input until reviewed. It can contain bugs, unsafe assumptions, outdated APIs, or insecure patterns, even when it looks polished. Treat suggestions like code from an unfamiliar contributor: inspect the diff, run the normal tests and static checks, and follow the same approval and deployment process as other changes.

  • Do not give the assistant production credentials or unrestricted access to sensitive systems.
  • Use isolated development environments for experiments involving command execution.
  • Review changes to authentication, authorization, input handling, cryptography, and data access especially carefully.
  • Keep existing code review, dependency scanning, testing, and release controls in place.

An assistant can also make a mistaken change quickly across several files. Version control, small reviewable changes, and a clear rollback path help contain errors; they do not replace careful evaluation.

Review licensing and code provenance

Ask how the tool handles code that resembles public or third-party material, whether it provides source references, and what its terms say about outputs. The answers can depend on the product, model, settings, and applicable agreements. A similarity warning or citation may help an engineer investigate, but it is not a guarantee that generated output is free of licensing concerns.

Set a workplace rule for attribution and reuse. Developers should know whether they may submit generated code, how to record its origin when required, and when to ask legal or compliance staff for review. Pay special attention to copied-looking snippets, unfamiliar dependencies, and code proposed for a product distributed to customers. Do not treat a tool’s output as automatically original or automatically approved.

Test quality, workflow fit, and accessibility

A useful pilot includes several developers, familiar and unfamiliar tasks, and more than one kind of work. Try routine changes as well as a task involving an existing codebase. Compare results with your normal process and note time spent prompting, checking, correcting, and documenting the output. A quick first draft may not save time if it requires substantial rework.

Check practical fit: supported editors and languages, repository context, source-control workflow, available administrative controls, and how the tool behaves during outages. Consider whether developers can disable suggestions, understand why a suggestion appeared, and use the product with the organization’s accessibility needs. Collect feedback from people with different levels of experience; a tool that helps one group may interrupt another.

Set a review period and criteria for continuing, changing, or stopping the pilot. Track both benefits and costs, such as onboarding, administration, training, review effort, and any required integration work. Keep the evaluation focused on your own code and workflows rather than extrapolating from demonstrations.

Plan costs and workplace guidance

Compare the full cost of adoption, not just a listed per-user charge. Depending on the product and deployment, expenses may include subscriptions, usage-based consumption, administration, security review, integration, training, and time spent checking output. Confirm how billing works, what happens when usage limits are reached, and whether access can be managed when staff change roles or leave.

Publish concise guidance before broad rollout. It should explain approved tools and accounts, prohibited data, review expectations, disclosure or attribution rules, and the route for reporting a suspected leak or harmful suggestion. Name an owner for access, policy questions, and periodic reassessment. Guidance should make clear that the developer remains responsible for understanding and validating code they submit.

Frequently Asked Questions

Can an AI coding assistant see my whole repository?
Not necessarily. Access depends on the product, integration, permissions, and settings. Check what files and context it can read, then test repository exclusions before using it with sensitive code.

Is code generated by an assistant safe to deploy?
There is no automatic guarantee. Review the code, run appropriate tests and security checks, and use your usual approval and release process before deployment.

Can developers paste company code into a public assistant?
Only if organizational policy and the tool’s approved terms permit it. Confirm data-retention and training settings first, and never submit secrets or restricted information without explicit authorization.

Does generated code avoid copyright or license problems?
No tool output should be assumed to be automatically clear of such issues. Check the product’s terms and provenance features, and escalate suspicious or consequential cases through the organization’s review process.

How should a company measure whether the assistant is worthwhile?
Use a small pilot and compare relevant outcomes, such as task completion, review effort, defects, and developer feedback. Include setup and correction time rather than counting suggestions accepted as the sole measure.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →