9 个仓库
A design pattern where validation logic is decoupled via common interfaces for reusability across types.
Distinct from Custom Lint Rule Definitions: Candidates are focused on linting or security rules, not general-purpose interface-based validation architecture.
Explore 9 awesome GitHub repositories matching software engineering & architecture · Interface-Driven Validation. Refine with filters or upvote what's useful.
Pkl is a configuration-as-code language used to define, validate, and generate structured configuration files. It functions as a type-safe configuration generator that enforces data integrity through a strongly-typed schema, ensuring configuration values meet defined constraints and types during evaluation. The project distinguishes itself by acting as both a configuration file generator and a binding generator. It transforms high-level programmable definitions into static formats such as JSON, YAML, or XML, and produces language-specific source code to synchronize settings and provide type s
Provides interfaces that allow external tools to programmatically manipulate and query configuration data.
这是一个使用 PyTorch 构建和训练神经网络的教育课程。它作为深度学习训练指南和资源,提供了一系列关于张量计算和架构开发的结构化课程。 该课程采用交互式学习模型,将学术理论与实践同步。它将理论讲义与练习驱动的 Notebook 相结合,要求学生在预定义的模板中实现模型逻辑,以验证其对概念的理解。 该课程涵盖了广泛的深度学习能力,包括通过梯度下降和正则化进行模型优化,以及卷积、循环和 Transformer 架构的实现。它还包括处理多模态数据以及通过对比学习方法和自动编码器应用自监督学习的说明。 内容通过一系列模块化的 Jupyter Notebook 提供。
Validates student understanding by requiring the implementation of theoretical concepts in code.
该项目是 PHP 的缓存抽象层和接口标准,专门定义了 PSR-6 缓存规范。它建立了一套一致的类型定义和缓存项及缓存池契约,以确保不同 PHP 库之间的互操作性。 该规范通过将高级缓存逻辑与低级存储实现分离,防止了供应商锁定。这允许在不更改应用程序代码的情况下更换不同的缓存后端。 该项目专注于通过使用通用方法签名和类型安全定义来实现 PHP 缓存标准化和库互操作性。这创建了一个与供应商无关的缓存层,使多个存储提供程序保持可互换性。
Defines common method signatures to ensure caching implementations remain interchangeable across libraries.
ML-foundations is a machine learning educational curriculum and computer science study guide. It provides a structured learning path focused on the mathematical foundations and computational prerequisites required for studying machine learning. The project serves as a Python mathematics course, delivering interactive notebooks and coding exercises to teach linear algebra, calculus, and statistics. It translates abstract mathematical formulas into concrete algorithmic code to help learners understand the principles underpinning machine learning algorithms. The curriculum covers data science p
Provides coding tasks that require learners to implement mathematical operations to prove their theoretical understanding.
该项目是一个结构化的课程存档和学习资源,用于掌握深度学习架构和模型实现。它作为一个分类存储库,包含神经网络的课程资料和实现指南。 该合集提供了一个用于构建和训练各种架构的多模型框架,专门涵盖基础神经网络、卷积网络和序列模型。它专注于深度学习架构、正则化以及构建机器学习项目和调整超参数的过程。 该学习平台通过交互式笔记本和精选讲义,将理论基础与实际应用相结合。知识验证通过一套旨在验证机器学习概念实现情况的测验和编程作业来处理。
Provides programming exercises and quizzes that validate the practical implementation of theoretical deep learning concepts.
该项目是一个基于练习的学习平台和函数式编程课程,旨在通过结构化的实践任务课程来教授 Haskell。它作为一个交互式教程和学习框架,学生通过完成一系列精心设计的模块来掌握函数式编程概念。 该平台强调类型驱动的开发工作流,利用类型孔(type holes)和编译器集成的类型查询来引导程序逻辑的发现。它通过读取-求值-打印循环(REPL)提供交互式编程环境,允许进行实时代码实验、表达式类型查询以及标识符详情检查。 通过结合单元测试和基于属性的测试套件的自动化验证系统来确保正确性。这些工具使用随机输入生成来验证练习解决方案是否满足特定要求。 课程涵盖语言语法、类型签名、多态性以及用于解构复杂数据结构的模式匹配。
Implements automated validation of coding exercises through integrated unit and property-based test suites.
该项目是一个函数式编程课程和自动化编码课程,旨在通过一系列结构化的练习和模块来教授该范式的核心原则。它作为一个交互式编程教程,学习者通过解决增量问题并通过编程练习套件验证其理解。 该课程与语言无关,专注于核心逻辑和范式,而非特定语言。它采用自动化工具链,将源代码转换为可执行二进制文件以验证解决方案。 正确性通过测试驱动的方法进行验证,该方法结合了内置测试运行器和基于属性的测试,以确保实现满足特定的功能要求。该项目包含用于开发者环境引导的脚本,以自动生成构建配置文件。
Verifies implementation correctness by executing predefined test cases and property-based checks against user code.
ozzo-validation is a programmable data validation library for Go that verifies structs, maps, and primitive types using a declarative, rule-based approach. It functions as an interface-based validator, allowing for the recursive checking of nested data structures and custom types without the use of struct tags. The framework distinguishes itself as a context-aware validation engine, supporting the propagation of request-scoped data to rules that depend on external state. It provides extensive extensibility through custom rule definitions and the ability to override default failure text with l
Utilizes a common interface to allow custom functions to be wrapped as reusable validation rules.
Scala Exercises 是一个交互式学习平台,旨在通过基于浏览器的编码挑战来掌握 Scala 编程语言。它作为一个综合教育框架,将编程课程组织成顺序模块,通过自动化验证为用户提交的代码提供即时反馈。 该平台的特色在于将教育内容视为模块化的、版本化的工件,可以动态注册并作为项目依赖项集成。这种架构允许创建自定义学习路径,其中练习使用类型安全接口定义并针对预定义的测试套件进行验证,确保所有学生解决方案都符合预期的函数式要求。 除了核心教学外,该系统还提供用于创作和组织复杂课程的工具,使贡献者能够将描述性文档与可执行逻辑打包在一起。该平台支持通过外部模块集成来扩展其库,从而允许在统一的、测试驱动的环境中维护和分发专门的编程内容。
Validates student code solutions against predefined test suites to ensure functional correctness.