• Home
  • Technology
  • Gaming
  • Entertainment
  • World & Business
  • Science
  • Sports
  • AI
HomeTechnologyGamingEntertainmentWorld & BusinessScienceSportsAI
  • HomeTechnologyGamingEntertainmentWorld & BusinessScienceSportsAI
    • Home
    • Technology
    • Gaming
    • Entertainment
    • World & Business
    • Science
    • Sports
    • AI
    AI

    A developer explores code contracts checked by AI agents

    The proposal pairs code with structured, free-form specifications. Its author says keeping them together prevents drift and helps people understand code changes faster.

    SP
    1 Source, 19d ago, first seen 19d ago

    TLDR

    Arguing that not all code will be formally verified, a developer shared code-contracts.cc as an exploration of a middle ground: agent-based verification rather than formal proofs. The proposed contracts put free-form specifications alongside code, with granular structure to help locate relevant requirements. The developer says automation would enable ongoing checks and notifications about important violations, while the contracts would make changes easier to understand and ease demands on engineers’ attention.

    Combined views

    1.5K

    1 Source, first seen 19d ago

    Combined views

    1.5K

    1 Source, first seen 19d ago

    9 likes
    9 likes
    1 comments
    3 saves

    Sentiment

    Positive——Negative

    Summary

    Not enough discussion yet.

    No sentiment analysis available yet.

    1 comments
    3 saves
    Today's Rank

    —

    Not ranked yet

    Today's Rank

    —

    Not ranked yet

    Sentiment

    Positive——Negative

    Summary

    Not enough discussion yet.

    No sentiment analysis available yet.

    1 Source

    @spoluExample "killer" contract, verified on all code changes at all times by all agents.

    1 Source

    @spoluExample "killer" contract, verified on all code changes at all times by all agents.