Skip to content

lffg-labs/payne

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

payne

No, it's not Podrick.

A toy payments engine.

Small project for an assignment.

Executing

Use cargo run to run the CLI (which reads from the provided file argument and writes to the standard output). If the file argument is -, the program will read from the standard input. Errors are logged to standard error.

Use cargo test to run the test suite.

For example, run cargo run -- test.csv to run with test input.

General remarks

  • When a dispute happens, the client's available balance may become negative. Is this a desirable behavior, or should one disallow disputes if the client can't afford it?
  • A single dispute can happen for a given transaction.
  • Didn't validate whether the client can performa a Dispute (e.g. if the disputer is the owner of the referenced transaction).
  • Didn't validate whether the client performing a resolution or a charge back is allowed to do so.

Notes on the use of generative AI

  • The main implementation was developed without the use of generative AI
  • AI was used to perform code reviews
  • An initial version of the tests was implemented with AI

About

No, it's not Podrick.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages