← All ivy-agents
IVYXSTUDIO · IVY AGENT
A

Answer Grading Report

ivy.agent.answer-grading · v1.1.0

ivyx

Reads a CSV of questions and answers, has Jev grade each answer as wrong, partly right or right, and writes the grades as a Markdown table.

Steps

In the order the agent's file lists them, each with where its inputs come from and the values the file fixes. A branch or a loop is a step too.

  1. 01
    Read the answers
    ivy.node.csv-read

    Reads a CSV file, or CSV text, into rows with the column names and row count.

    takes
    path from the agent's input
    returns
    row_count
    Ivy Node
  2. 02
    Grade each answer

    Runs Jev · Score once for each item of rows of step 1.

    set
    instructions Score the correctness of this answer on three levels: wrong, partly right, right.
    levels ["wrong","partly right","right"]
    secret
    jev_api_key the stored secret jev-api-key
    For each
  3. 03
    Lay out the table
    ivy.node.markdown-table

    Formats rows as a Markdown table, with the columns in the order given or as they first appear.

    takes
    rows from step 2, results
    set
    columns ["question","level_text"]
    returns
    markdown
    Ivy Node
  4. 04
    Write the report
    ivy.node.file-write

    Writes text to a file, creating its folder, and returns the absolute path and the number of bytes written.

    takes
    text from step 3, markdown
    set
    path reports/grading.md
    overwrite true
    returns
    path
    Ivy Node

Nodes it brings

Adding this agent in IVYX Studio adds these nodes with it. A node your workspace already has is kept as it is, even at another version.

What it touches

Collected from what each of its nodes declares and what the agent's own file declares, such as moving a robot, plus the model call when a step is a model turn. A declaration is the author's statement, and it is what policy rules select on.

Writes filesNetwork

What it needs

  • A stored secret named jev-api-key. The agent's file carries the name, never the value.

Inputs

FieldTypeDescription
pathrequiredstringThe CSV file with the columns question and answer.

Outputs

FieldTypeDescription
row_countintegerHow many answers were graded.
markdownstringThe table that was written.
pathstringThe Markdown report written.

Tests

2 of 2 test cases passed on Oct 7, 2026, in the publisher's own environment, before this version was published. The registry keeps that record; it does not run the cases again.

Requires: python:3.9, the stored secret jev-api-key

  • five-answers

    Five graded answers are written to reports/grading.md; the two wrong ones read wrong.

    given
    path data/jev/answers.csv
    expects
    row_count equals 5
    markdown matches wrong
    path matches reports/grading\.md$
  • three-answers

    Another file with three answers is graded, not a remembered one.

    given
    path data/jev/answers-b.csv
    expects
    row_count equals 3
    markdown matches right