Solution for the technical assessment.
Automated validation runs on every push, pull request, and manual workflow run.
It executes the
RL-style judge against reference_solution/transformer_block.py and runs
pytest tests/ -v to confirm the environment and reference implementation work
end to end.
An RL environment where the LLM agent must implement five core components of modern transformer architectures — RMSNorm, Rotary Position Embeddings (RoPE), Grouped-Query Attention (GQA), SwiGLU, and a complete LlamaBlock — entirely from scratch in PyTorch.
├── assessment_answers.md # Full assessment answers
├── environment/
│ ├── prompt.md # Exact prompt given to the LLM agent
│ ├── judge.py # Automated judge (continuous score 0–1)
│ └── setup.sh # VM setup script
├── reference_solution/
│ └── transformer_block.py # Working reference implementation
├── tests/
│ └── test_judge.py # Tests for the judge + reference solution
└── requirements.txt # Python dependencies
pip install -r requirements.txt
# Run the judge against the reference solution
python environment/judge.py --solution reference_solution/transformer_block.py
# Run tests
pytest tests/ -vSee assessment_answers.md for detailed answers to all assessment questions.