← THE LIBRARY

Research / Machine learning / FIELD GUIDE

Iterate on a Kaggle modeling experiment

Explore a loop that proposes changes, evaluates results and iterates on a machine-learning task.

Checked 14 Oct 2026

Pinned source guide with dataset and dependency prerequisites. Original project by Microsoft; guide and labeled adaptations by Agent Setup Kits.

FIELD GUIDEKIT / EXPERIMENT
Use case
Data science
Architecture
Single agent
Trigger
Manual
Sandbox
Not enforced
License
MIT
Human approval
Before you run

01 / PURPOSE

The autonomous job

Propose experiments, implement and evaluate modeling/feature changes, then use feedback for subsequent experiments. This guide covers modeling, not trading or automatic competition submission.

02 / SYSTEM

Architecture and handoffs

The data_science entry loads DataScienceRDLoop with configured proposal, coder, runner and summary components. Optional step_n, loop_n and timeout bound execution. Restoring a session can clear later logs when checkout behavior is enabled.

System for Iterate on a Kaggle modeling experiment BOUNDARY / NO ENFORCED SANDBOX. 01 / HUMAN You. 02 / AGENT R&D experiment loop. 03 / WORKSPACE Workspace. 04 / SERVICE Python and experi.... BOUNDARY / NO ENFORCED SANDBOX manual calls 01 / HUMAN You Choose offline modeling scope a... 02 / AGENT R&D experiment loop Propose and implement experimen... 03 / WORKSPACE Workspace Execute generated Python/Docker... 04 / SERVICE Python and experi... Execute generated modeling code... ASK
Built from this kit's roles, tools and boundaryHumanAgentServiceBoundary
01 / AGENT

R&D experiment loop

Propose and implement experiments using configured components

HandoffEvaluate results and update the experiment trace

Model
Provider/LiteLLM models are configurable. Exact deployment model and embedding selection are unknown.
Memory
Experiment workspaces and log sessions can be loaded by path. Restoration/cleanup behavior must be reviewed before use.

03 / CONNECTIONS

Tools and triggers

Tool access described by this edition
ToolPurposeAccess
Python and experiment runnerExecute generated modeling code and evaluate resultsDataset files, subprocesses and configured Docker/provider access

What starts the work

  • Manual On-demand data_science loop with selected competition and explicit bounds
Permissions in this edition
ControlDecision
Execute generated Python/Docker workloadsYes
Read datasets and write experiment artifactsYes
Restore and clean workspaces/logs through source routinesYes
Choose offline modeling scope and explicit compute/iteration bounds before any run. No automatic submission is authorized.Ask
Source reference only. No new sandbox or enforced isolation is implemented by this guide.No

04 / BOUNDARIES

Capabilities and safety

Credentials
Existing provider/Kaggle access may be needed; no upstream credential-pattern environment sample is bundled or exposed.
Shutdown
Stop the dedicated experiment process. Preserve workspaces/logs for inspection before cleanup; do not restore with destructive checkout assumptions.

Capabilities

  • Execute generated Python/Docker workloads
  • Read datasets and write experiment artifacts
  • Restore and clean workspaces/logs through source routines

05 / SETUP

The files behind the workflow.

Start with INSTALL.md and the setup notes above. Original-project files retain their attribution and license; our installation notes, dependency profiles and custom wrappers are identified separately.

  1. Installation preparation

    This archive is an inspected source selection. The exact remaining blockers and labeled adaptations below supersede earlier unpinned preparation assumptions. No successful installation or runtime result is asserted.

  2. Reviewed installation gates

    - Wheel-only Linux/Python 3.12.13 resolution failed because pandarallel has no usable wheels; its source build was not executed. - Dedicated dataset/artifact hashes, dataset permission/license, Docker/native/browser/optional torch runtime and external submission configuration remain unresolved.

  3. Stop and inspect

    Stop the dedicated experiment process. Preserve workspaces/logs for inspection before cleanup; do not restore with destructive checkout assumptions.

  4. Recorded pins

    Versions recorded for this edition. Confirm them against the upstream project before you install.

    text
    Repository source  484776c211e4fbbeef03e0ec00d6bbee7362a4f4
INSTALL.mdView file +

Setup instructions, prerequisites and edition-specific integration notes

Download INSTALL.md ↓

# Iterate on a Kaggle modeling experiment


## Source and scope
microsoft/RD-Agent at 484776c211e4fbbeef03e0ec00d6bbee7362a4f4

The review bundle contains selected safe source files, the original license, Git/SHA-256 source manifest and these original editorial instructions. It is a source reference selection, not necessarily the complete project runtime.

## Installation preparation
This archive is an inspected source selection. The exact remaining blockers and labeled adaptations below supersede earlier unpinned preparation assumptions. No successful installation or runtime result is asserted.

## Autonomous job
Propose experiments, implement and evaluate modeling/feature changes, then use feedback for subsequent experiments. This guide covers modeling, not trading or automatic competition submission.

## Capabilities
- Execute generated Python/Docker workloads
- Read datasets and write experiment artifacts
- Restore and clean workspaces/logs through source routines

## Reviewed installation gates
- Wheel-only Linux/Python 3.12.13 resolution failed because pandarallel has no usable wheels; its source build was not executed.
- Dedicated dataset/artifact hashes, dataset permission/license, Docker/native/browser/optional torch runtime and external submission configuration remain unresolved.
- The denied credential-pattern environment sample remains excluded; model/provider/dataset access and actual run/submission behavior are unverified.

Read SOURCE.md and the authored setup.env.example parameter checklist. This remains a source preview, not a complete installation. Original bundled workflows/examples are reference files; do not activate them from this package. No dependency install, source build, project execution, provider call or GitHub/Slack write was performed.

# RD-Agent dependency review

The already inspected immutable requirements.txt was submitted to uv 0.11.18 metadata resolution with Python 3.12.13/Linux x86_64, --only-binary :all:, no Python downloads, no install and no source builds. Resolution failed because pandarallel has no usable wheels. The diagnostic is preserved in research/rd-agent-kaggle-dependency-review.json. No invented lock or successful installation is claimed.

The broad requirements include optional-adjacent browser/crawler, PDF, MLflow, Kaggle and data-analysis dependencies. A source-built package needs separately reviewed build inputs and execution authorization; missing wheels are not permission to build it here. The source sample that triggered a credential pattern was not fetched or read again. setup.env.example is an authored checklist, not a reconstruction of that excluded sample.

Dataset licensing/access, immutable dataset and image hashes, native/optional torch environment, provider entitlements and any competition submission must be selected before an authorized runtime exercise. No dataset download, login, browser, container, provider call or submission was performed.


## Stop and inspect
Stop the dedicated experiment process. Preserve workspaces/logs for inspection before cleanup; do not restore with destructive checkout assumptions.

## Attribution
Original MIT license and upstream copyright headers are retained. This source selection and authored instructions do not imply upstream endorsement or license model/service access.

Agent Setup Kits authored documentation for Pinned source guide with dataset and dependency prerequisites; upstream code and licenses remain attributed separately

LICENSE.txtView file +

Full retained upstream source license

Download LICENSE.txt ↓

    MIT License

    Copyright (c) Microsoft Corporation.

    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE

Unmodified upstream license content at the pinned source revision

SOURCE.mdView file +

Original-project attribution, source hashes and adaptation notes

Download SOURCE.md ↓

# RD-Agent dependency review

The already inspected immutable requirements.txt was submitted to uv 0.11.18 metadata resolution with Python 3.12.13/Linux x86_64, --only-binary :all:, no Python downloads, no install and no source builds. Resolution failed because pandarallel has no usable wheels. The diagnostic is preserved in research/rd-agent-kaggle-dependency-review.json. No invented lock or successful installation is claimed.

The broad requirements include optional-adjacent browser/crawler, PDF, MLflow, Kaggle and data-analysis dependencies. A source-built package needs separately reviewed build inputs and execution authorization; missing wheels are not permission to build it here. The source sample that triggered a credential pattern was not fetched or read again. setup.env.example is an authored checklist, not a reconstruction of that excluded sample.

Dataset licensing/access, immutable dataset and image hashes, native/optional torch environment, provider entitlements and any competition submission must be selected before an authorized runtime exercise. No dataset download, login, browser, container, provider call or submission was performed.

Agent Setup Kits authored documentation for Pinned source guide with dataset and dependency prerequisites; upstream code and licenses remain attributed separately

setup.env.exampleView file +

Existing-resource parameter checklist; no secrets

Download setup.env.example ↓

# Authored prerequisites only; not an upstream environment sample.
REVIEW_PYTHON=3.12.13
EXISTING_DATASET_PATH=REQUIRED_REVIEWED_LOCAL_DATASET
DATASET_SHA256=REQUIRED_VERIFIED_ARTIFACT_HASH
EXISTING_CONTAINER_IMAGE_DIGEST=REQUIRED_REVIEWED_IMAGE
EXISTING_PROVIDER_MODEL_ID=REQUIRED_APPROVED_MODEL
# External competition submission is not approved or configured.

Agent Setup Kits authored non-executing review adaptation; not install/run success evidence

Source and guide bundle

Selected upstream files, original license, source manifest and labeled guide adaptations.

View SHA-256 checksum
Download bundle

06 / ORIGINAL WORK

Sources, pins, and license

This guide draws on RD-Agent by Microsoft, at the linked source revision. Agent Setup Kits is independent of the upstream project. Edition-specific changes are labeled in the file provenance.

Microsoft / RD-Agent

Pinned source guide with dataset and dependency prerequisites

Open source
Sources this edition relies on
SourceWhat it supports
Immutable source revision ↗Exact source snapshot
pyproject.toml ↗Source review, configuration or dependency/provenance reference
rdagent/app/data_science/conf.py ↗Source review, configuration or dependency/provenance reference
rdagent/app/data_science/loop.py ↗Concrete workflow entry point and operating behavior
rdagent/scenarios/data_science/loop.py ↗Source review, configuration or dependency/provenance reference
README.md ↗Source review, configuration or dependency/provenance reference
requirements.txt ↗Source review, configuration or dependency/provenance reference
Source versions and guide targets
ComponentPinSource
Repository source484776c211e4fbbeef03e0ec00d6bbee7362a4f4Original source ↗

MIT

Original MIT license and upstream copyright headers are retained. This source selection and authored instructions do not imply upstream endorsement or license model/service access.

Read the original license ↗

Related guides

Your privacy choices

Choose optional tools. Rejecting them keeps the setup library available. Advertising consent stays off.

Choices stay in this browser for 90 days. You can change them using Privacy settings. Privacy and cookie details