Problem/Motivation

`vendor/bin/neuron evaluation path` is a plain PHP script with its own minimal autoloader. Running it against a Drupal site needs a separate bootstrap file that boots DrupalKernel.

Proposed resolution

Expose the same functionality as a Drush command (ai-neuron:evaluate), since Drush already has a booted container. The command discovers each enabled module's own evaluators directory.

Issue fork ai_neuron-3639386

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ad0z created an issue. See original summary.

ad0z’s picture

Issue summary: View changes
ad0z’s picture

Issue summary: View changes
ad0z’s picture

Assigned: ad0z » Unassigned
Status: Active » Needs review

  • ademarco committed ae092f73 on 1.0.x authored by ad0z
    Issue #3639386: Add drush command to run Neuron AI evaluators
    

  • ademarco committed 0eb434e0 on 1.0.x
    feat: #3639386 Report one row per scored assertion in the evaluate...