# Reality Checker — Research Audit v0.6.7 (`matte_fort/my-actor-1`) Actor

Research prototype for auditing evidence, target conclusions, inferential links, structural patterns, and correction processes in AI-generated analyses. Produces structured JSON with integrity flags and review indicators. Evaluates provided records, not independently verified facts.

- **URL**: https://apify.com/matte_fort/my-actor-1.md
- **Developed by:** [Vladisav Jovanovic](https://apify.com/matte_fort) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Reality Checker — Research Audit v0.6.7

**An experimental instrument for evidence, inference, structural relationships, and correction auditing.**

### Overview

Reality Checker is a research prototype developed to investigate how AI-generated analyses organize evidence, interpretations, conclusions, inferential relationships, and correction processes.

The instrument forms part of an exploratory research programme examining the application of structural analysis to observable AI responses.

It is designed for research inspection, methodological transparency, and reproducibility rather than independent verification of real-world truth.

### What Does It Analyze?

Reality Checker examines:

- **Evidence:** What information is actually contained in the supplied record?
- **Target conclusions:** Does the available record support, contradict, or fail to establish a specified conclusion?
- **Inference links:** Are the connections between evidence and conclusions adequately justified?
- **Structural patterns:** What recurring interpretations, decisions, or relationships are represented in the record?
- **Correction processes:** How are new findings incorporated, and what earlier consequences remain?
- **Unknowns:** What cannot be established from the available information?

### How to Use

Provide the following inputs:

1. **Situation:** A description of the case or documented sequence of events.
2. **Target conclusion:** A specific claim to evaluate.
3. **Evidence records (optional):** Additional source material with identifiers.
4. **OpenAI API key:** Your own API key, entered into the protected input field.

The research baseline uses `gpt-4.1-mini`.

Run the Actor to generate a structured JSON research report.

### Understanding the Results

The report contains:

- `finding` — the externally reported assessment.
- `analysis.overall.verdict` — the model-generated assessment.
- `target_components` — the propositions making up the target conclusion.
- `inference_links` — explicit evidence-to-conclusion relationships.
- `event_map` — identified events and their relationships.
- `formation_trace` — observed patterns and their development.
- `correction_trace` — represented correction processes and consequences.
- `integrity_flags` — detected structural or formal inconsistencies.
- `review_required` — whether additional inspection is required.

A model-generated conclusion and the final reported finding may differ. When validation detects specified integrity problems, the instrument may return `unable_to_assess` and require review.

An empty list of integrity flags does not guarantee that the analysis is factually or semantically correct.

### Research Implementation

- **Research version:** `0.6.7-single-prompt`
- **Baseline model:** `gpt-4.1-mini`
- **Architecture:** Single master prompt, one model API call per analysis, structured JSON output, and Python post-validation.
- **Offline regression tests:** 141 passed in the archived research package.
- **Execution environment:** Apify Actor.

The original master prompt SHA-256 is:

`bb67c31e6cfd860bf44c20bd4dc789c689c79252949bfa7cd416dfb6b788a896`

These tests establish software regression behavior, not independent empirical validation of semantic accuracy.

### Research Limitations

Reality Checker:

- Does not independently authenticate supplied evidence.
- Does not perform external fact-checking.
- Does not reveal a model's hidden reasoning or internal neural processes.
- Does not guarantee the accuracy of inferred relationships.
- May produce formally valid outputs containing substantive errors.
- Is not a validated clinical, legal, medical, or scientific decision-making system.

Philosophical and psychological concepts inform the instrument's design but are not treated as independent criteria for factual truth.

### Reproducibility

The research version is preserved with its source code, master prompt, schemas, test inputs, expected results, and validation procedures.

Researchers should report the exact Actor version, model identifier, input, output, prompt hash, and integrity flags when documenting results.

### Intended Use

This Actor is intended for:

- Examination of the research methodology.
- Reproduction of documented analyses.
- Exploration of evidence-to-conclusion relationships.
- Investigation of AI-generated structural representations.
- Identification of limitations and potential failure modes.

**Reality Checker is an exploratory research instrument, not a certified truth-detection system.**

### API Key & Pricing

Users must provide their own OpenAI API key through the protected input field.

Each generated result costs **$0.05**, plus applicable Apify platform usage and the small Actor Start fee.

OpenAI API usage is billed separately to the user's OpenAI account.

### Author

**Vladisav Jovanović**

Research Programme

2026

# Actor input Schema

## `situation` (type: `string`):

Describe what was reported or observed. Avoid sharing unnecessary personal or confidential data.

## `target_conclusion` (type: `string`):

The ONE conclusion you want the tool to assess from the supplied record.

## `evidence_records` (type: `array`):

JSON objects: id E1..E10, text, source_type=user_supplied/document_excerpt/quoted_testimony. Source type is not authentication.

## `openai_api_key` (type: `string`):

Encrypted by Apify. Used only for this run to call gpt-4.1-mini. The user pays OpenAI directly. Do not enter an Apify API token.

## Actor input object example

```json
{
  "situation": "A manager criticized one slide of an employee's presentation. The employee received a positive performance review last month.",
  "target_conclusion": "The manager intends to terminate the employee's employment.",
  "evidence_records": []
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "situation": "A manager criticized one slide of an employee's presentation. The employee received a positive performance review last month.",
    "target_conclusion": "The manager intends to terminate the employee's employment.",
    "evidence_records": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("matte_fort/my-actor-1").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "situation": "A manager criticized one slide of an employee's presentation. The employee received a positive performance review last month.",
    "target_conclusion": "The manager intends to terminate the employee's employment.",
    "evidence_records": [],
}

# Run the Actor and wait for it to finish
run = client.actor("matte_fort/my-actor-1").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "situation": "A manager criticized one slide of an employee'\''s presentation. The employee received a positive performance review last month.",
  "target_conclusion": "The manager intends to terminate the employee'\''s employment.",
  "evidence_records": []
}' |
apify call matte_fort/my-actor-1 --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,matte_fort/my-actor-1"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/cwkzDW0kqPcFC7ZrA/builds/uN288Uva1BK7cxJHG/openapi.json
