Skip to content

fix: define column_property checks after class body to avoid NotImple…#94

Merged
neoneye merged 2 commits intomainfrom
multi_user_frontend_cannot_start_on_railway1
Feb 26, 2026
Merged

fix: define column_property checks after class body to avoid NotImple…#94
neoneye merged 2 commits intomainfrom
multi_user_frontend_cannot_start_on_railway1

Conversation

@neoneye
Copy link
Member

@neoneye neoneye commented Feb 26, 2026

…mented error

deferred() descriptors do not support .isnot() at class-definition time, producing NotImplemented instead of SQL expressions. This crashed the frontend_multi_user deployment on startup (psycopg2 can't adapt NotImplementedType). Moving the has_* column_property definitions after the class body and referencing table.c gives us the raw Column objects that correctly generate IS NOT NULL expressions.

neoneye and others added 2 commits February 26, 2026 22:47
…mented error

deferred() descriptors do not support .isnot() at class-definition time,
producing NotImplemented instead of SQL expressions. This crashed the
frontend_multi_user deployment on startup (psycopg2 can't adapt
NotImplementedType). Moving the has_* column_property definitions after
the class body and referencing __table__.c gives us the raw Column
objects that correctly generate IS NOT NULL expressions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pyright cannot see attributes assigned outside the class body. Add
TYPE_CHECKING-guarded bool annotations inside the class so pyright
knows about the has_* attributes without confusing SQLAlchemy at runtime.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@neoneye neoneye merged commit 9085ffd into main Feb 26, 2026
3 checks passed
@neoneye neoneye deleted the multi_user_frontend_cannot_start_on_railway1 branch February 26, 2026 22:07
neoneye added a commit that referenced this pull request Mar 9, 2026
Foundation for autonomous prompt optimization (#94) and A/B testing
promotion (#59). Scores pipeline task outputs against a 5-dimension
rubric (Specificity, Actionability, Completeness, Internal Consistency,
Conciseness) using structured LLM output.

Includes CLI helper for scoring tasks from completed run directories.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
neoneye added a commit that referenced this pull request Mar 9, 2026
Minimal experiment infrastructure for prompt optimization (#94) and
A/B testing promotion (#59). Runs baseline vs candidate system prompts
on a task function, scores both outputs with the task output scorer,
and logs results to a JSONL tracker.

Includes experiment config, runner with task registry, results tracker,
and CLI entry point.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
neoneye added a commit that referenced this pull request Mar 11, 2026
Mark #86, #62, #114-I4 as implemented. Note open PRs for #58,
#88, #94, #59. Update phase sequence with status indicators and
next priorities (114-I1, 114-I2).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant