Integration test: grader-only files never reach the trial

Open
#164 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
74/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
docker, python

Research direction

Start with src/meridian/runtime/payload.py and src/meridian/runtime/pytest_runner.py, then read the existing integration test setup to see how trials are launched. Add a trial whose agent lists the filesystem and check its output or final state for grader files. Done means an integration test fails if any hidden test file reaches the trial.

Written by the indexing model from the issue text.

Description

area: grading area: security area: tests size: M tests
Context

A task's hidden tests ship as grader files that must never be visible to the agent. Unit tests cover the overlay at grading time, but nothing proves they are absent from the trial container.

What to do

Run a trial whose agent lists the filesystem, and assert no grader file appears in its output or final state.

Done when

Leaking a hidden test into a trial fails an integration test.

Where to look

src/meridian/runtime/payload.py, src/meridian/runtime/pytest_runner.py


New here? Read CONTRIBUTING.md and comment on this issue to say you are taking it.


Generated by Claude Code

Dominant language
Python
Stars
0
Forks
0
Avg merge
1h 54m
Merged PRs (30d)
14

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from patsypppe/meridian

All issues in patsypppe/meridian

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.